public class A3DObject
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
name
The name of the current object.
|
protected PropertyCollection |
properties
The properties of the current object.
|
| Constructor and Description |
|---|
A3DObject()
Initializes a new instance of the
A3DObject class with no name. |
A3DObject(java.lang.String name)
Initializes a new instance of the
A3DObject class. |
| Modifier and Type | Method and Description |
|---|---|
Property |
findProperty(java.lang.String propertyName)
Finds the property.
|
java.lang.String |
getName()
Gets the name.
|
PropertyCollection |
getProperties()
Gets the collection of all properties.
|
java.lang.Object |
getProperty(java.lang.String property)
Get the value of specified property
|
boolean |
removeProperty(Property property)
Removes a dynamic property.
|
boolean |
removeProperty(java.lang.String property)
Remove the specified property identified by name
|
void |
setName(java.lang.String value)
Sets the name.
|
void |
setProperty(java.lang.String property,
java.lang.Object value)
Sets the value of specified property
|
protected java.lang.String name
protected PropertyCollection properties
public A3DObject(java.lang.String name)
A3DObject class.name - Namepublic A3DObject()
A3DObject class with no name.public java.lang.String getName()
public void setName(java.lang.String value)
value - New valuepublic boolean removeProperty(Property property)
property - Which property to removepublic boolean removeProperty(java.lang.String property)
property - public java.lang.Object getProperty(java.lang.String property)
property - Property namepublic void setProperty(java.lang.String property,
java.lang.Object value)
property - Property namevalue - The value of the propertypublic Property findProperty(java.lang.String propertyName)
propertyName - Property name.public PropertyCollection getProperties()