public interface Structure
Modifier and Type | Method and Description |
---|---|
<T extends Structure> |
_convertTo(java.lang.Class<T> clazz)
Converts this structure into an instance of the provided class structure
if possible.
|
java.lang.String |
_getCanonicalName()
Returns the canonical name of the structure.
|
StructValue |
_getDataValue()
Returns this
Structure represented in the dynamic
DataValue model. |
boolean |
_hasTypeNameOf(java.lang.Class<? extends Structure> clazz)
Checks if the runtime type name of this structure matches the type
represented by the specified binding class.
|
StructValue _getDataValue()
Structure
represented in the dynamic
DataValue
model.
Attempts to change the returned StructValue
representation are not required to change the state of this structure.
Actually the behavior is implementation dependent and is unspecified.
In general the returned value shouldn't be changed.
StructValue
representing this structureboolean _hasTypeNameOf(java.lang.Class<? extends Structure> clazz)
This can be used as efficient check to determine if this instance
can be successfully converted
to the target
type.
clazz
- bindings class for the target structure; must not be null
<T extends Structure> T _convertTo(java.lang.Class<T> clazz)
clazz
- type of the result structure. cannot be null.CoreException
is thrown otherwise.java.lang.String _getCanonicalName()
org.example.FooBar
would turn into
org.example.foo_bar
.