You can only set the visibility of one of either the GETTER or SETTER phrases of a property, as shown in the following example:
class-id myClass1.
property-id myProp1 string public.
setter private.
set property-value to "1234"
getter.
set myString to property-value
end property.
end class.