GETTER または SETTER 指定のどちらかの可視性を指定する場合、プロパティには GETTER および SETTER 指定の両方を含める必要がありますが、可視性を指定できるのはどちらか 1 つの指定のみです。
class-id myClass1.
property-id myProp1 string public.
setter protected. *> this is correct
set property-value to "1234"
getter.
set myString to property-value
end property.
end class.