|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.prosysopc.ua.typedictionary.FieldSpecification
public class FieldSpecification
| Constructor Summary | |
|---|---|
FieldSpecification(String name,
Class<?> javaClass,
boolean isOptional,
DynamicStructureSerializer serializer,
boolean isArray,
EnumerationSpecification enumerationSpecification,
UaNodeId dataTypeId)
Create new FieldSpecification. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
UaNodeId |
getDataTypeId()
Returns the DataType node's NodeId of the UA type of this field. |
EnumerationSpecification |
getEnumerationSpecification()
If this field's datatype is a custom Enumeration, then this method returns the specification for it. |
Class<?> |
getJavaClass()
Returns the java Class of the field. |
String |
getName()
Returns the name of the field. |
DynamicStructureSerializer |
getSerializer()
Custom serializer for this field, null if none. |
int |
hashCode()
|
boolean |
isArray()
Returns true if this field is an array. |
boolean |
isOptional()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FieldSpecification(String name,
Class<?> javaClass,
boolean isOptional,
DynamicStructureSerializer serializer,
boolean isArray,
EnumerationSpecification enumerationSpecification,
UaNodeId dataTypeId)
FieldSpecification.
name - name of the field, should start with capital letterjavaClass - java class of the fieldisOptional - true if the field is Optional, false if notserializer - custom serializer, can be nullisArray - is the field array (true) or scalar (false)enumerationSpecification - if this field's datatype is a custom enumeration, a
specification for it, otherwise nulldataTypeId - the DataType node's NodeId of this field, null if not known| Method Detail |
|---|
public boolean equals(Object obj)
equals in class Objectpublic UaNodeId getDataTypeId()
public EnumerationSpecification getEnumerationSpecification()
public Class<?> getJavaClass()
public String getName()
public DynamicStructureSerializer getSerializer()
public int hashCode()
hashCode in class Objectpublic boolean isArray()
public boolean isOptional()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||