public class A3DObject extends Object
Constructor and Description |
---|
A3DObject()
Initializes a new instance of the
A3DObject class with no name. |
A3DObject(String name)
Initializes a new instance of the
A3DObject class. |
Modifier and Type | Method and Description |
---|---|
Property |
findProperty(String propertyName)
Finds the property.
|
String |
getName()
Gets the name.
|
Object |
getProperty(String property)
Get the value of specified property
|
boolean |
removeProperty(Property property)
Removes a dynamic property.
|
boolean |
removeProperty(String property)
Remove the specified property identified by name
|
void |
setName(String value)
Sets the name.
|
void |
setProperty(String property,
Object value)
Sets the value of specified property
|
public A3DObject(String name)
A3DObject
class.name
- Namepublic A3DObject()
A3DObject
class with no name.public String getName()
public void setName(String value)
value
- New valuepublic boolean removeProperty(Property property)
property
- Which property to removepublic boolean removeProperty(String property)
property
- public Object getProperty(String property)
property
- Property namepublic void setProperty(String property, Object value)
property
- Property namevalue
- The value of the propertyCopyright © 2019. All rights reserved.