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.Object
Base 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 PropertyBase
clone()
Construct a clone of the property.void
delete()
static long
getCPtr(PropertyBase obj)
java.lang.String
getDescription()
Returns descriptionjava.lang.String
getIdentifier()
Returns the Property identifierPropertyValueBase
getPropertyValue()
returns reference to the property valuePropertyType
getType()
Returns the PropertyTypevoid
setDescription(java.lang.String desc)
Set description.void
setDescription(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
-
-