Package org.robwork.sdurw_core
Class PropertyBase
- java.lang.Object
-
- org.robwork.sdurw_core.PropertyBase
-
- Direct Known Subclasses:
Property_b,Property_d,Property_f,Property_i,Property_s,PropertyPropertyMap,PropertyVector_d,PropertyVector_i,PropertyVector_s
public class PropertyBase extends java.lang.ObjectBase class for Property handling
-
-
Constructor Summary
Constructors Constructor Description PropertyBase(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyBaseclone()Construct a clone of the property.voiddelete()static longgetCPtr(PropertyBase obj)java.lang.StringgetDescription()Returns descriptionjava.lang.StringgetIdentifier()Returns the Property identifierPropertyValueBasegetPropertyValue()returns reference to the property valuePropertyTypegetType()Returns the PropertyTypevoidsetDescription(java.lang.String desc)Set description.voidsetDescription(java.lang.String desc, boolean fireChangedEvent)Set description.
-
-
-
Method Detail
-
getCPtr
public static long getCPtr(PropertyBase obj)
-
delete
public void delete()
-
getIdentifier
public java.lang.String getIdentifier()
Returns the Property identifier- Returns:
- string identifier
-
getDescription
public java.lang.String getDescription()
Returns description- Returns:
- string description
-
setDescription
public void setDescription(java.lang.String desc, boolean fireChangedEvent)Set description.- Parameters:
desc- [in] the new description.fireChangedEvent- [in] (optional) fire changed event.
-
setDescription
public void setDescription(java.lang.String desc)
Set description.- Parameters:
desc- [in] the new description.
-
clone
public PropertyBase clone()
Construct a clone of the property.
-
getPropertyValue
public PropertyValueBase getPropertyValue()
returns reference to the property value- Returns:
- value
-
getType
public PropertyType getType()
Returns the PropertyType- Returns:
- the PropertyType
-
-