public class NFNodeSpec extends java.lang.Object implements java.lang.Iterable<NFPropertySpec>
NFNodeSpec specifies the schema for a node type.
It is defined by a node name and a number of NFPropertySpec.| Constructor and Description |
|---|
NFNodeSpec(java.lang.String nodeTypeName,
NFPropertySpec... propertySpecs)
The constructor for an
NFNodeSpec. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getNodeTypeName() |
int |
getNumMultipleProperties() |
int |
getNumSingleProperties() |
NFPropertySpec |
getPropertySpec(java.lang.String propertyName) |
NFPropertySpec[] |
getPropertySpecs() |
java.util.Iterator<NFPropertySpec> |
iterator() |
public NFNodeSpec(java.lang.String nodeTypeName,
NFPropertySpec... propertySpecs)
NFNodeSpec.nodeTypeName - the name of the node typepropertySpecs - a complete listing of the properties available for this node type.public java.lang.String getNodeTypeName()
public NFPropertySpec[] getPropertySpecs()
public NFPropertySpec getPropertySpec(java.lang.String propertyName)
public int getNumSingleProperties()
public int getNumMultipleProperties()
public java.util.Iterator<NFPropertySpec> iterator()
iterator in interface java.lang.Iterable<NFPropertySpec>