public abstract class X3DConcreteFieldDefinition extends java.lang.Object implements X3DFieldDefinition
Representation of a node's field definition.
The field definition holds static field information such as the field access type, data type and name of the field.
The implementation of the toString() method of this class shall return the
full IDL declaration of the field as per the specification, not the UTF8 or
XML format. Implementation of .equals() shall return true if
the two field definitions share the same access type, data type and name. It
shall not include the underlying field's values at that point in time.
| Constructor and Description |
|---|
X3DConcreteFieldDefinition() |
| Modifier and Type | Method and Description |
|---|---|
int |
getAccessType()
Get the access type of the field.
|
int |
getFieldType()
Get the field type.
|
java.lang.String |
getFieldTypeString()
Get the field type.
|
java.lang.String |
getName()
Get the name of this field.
|
void |
setAccessType(int newValue)
Set the access type of the field.
|
void |
setFieldType(int newValue)
Set the field type of the field.
|
void |
setName(java.lang.String newValue) |
public java.lang.String getName()
getName in interface X3DFieldDefinitionpublic void setName(java.lang.String newValue)
public int getAccessType()
getAccessType in interface X3DFieldDefinitionX3DFieldTypespublic void setAccessType(int newValue)
newValue - The access type of this fieldInvalidFieldValueException - Illegal value provided, no change madeX3DFieldTypespublic int getFieldType()
getFieldType in interface X3DFieldDefinitionX3DFieldTypespublic void setFieldType(int newValue)
newValue - The access type of this fieldInvalidFieldValueException - Illegal value provided, no change madeX3DFieldTypespublic java.lang.String getFieldTypeString()
getFieldTypeString in interface X3DFieldDefinitionCopyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.