Class ReadOnlyProperty<T>
java.lang.Object
modelarium.entities.attributes.ReadOnlyAttribute<Property<T,?>>
modelarium.entities.attributes.properties.ReadOnlyProperty<T>
- Type Parameters:
T- the type of value carried by the property
Provides a read-only view of a typed property attribute.
-
Method Summary
Methods inherited from class modelarium.entities.attributes.ReadOnlyAttribute
accessLevel, getMutableAttribute, isLogged, name
-
Method Details
-
type
Returns the class of the value this property carries.- Returns:
- the property's value type
-
toString
Returns the string representation of the property value. -
get
Returns this property's current value.- Returns:
- the property's value
-