org.milyn.edisax.model.internal
Class Field
java.lang.Object
org.milyn.edisax.model.internal.MappingNode
org.milyn.edisax.model.internal.ValueNode
org.milyn.edisax.model.internal.Field
- All Implemented Interfaces:
- ContainerNode
public class Field
- extends ValueNode
- implements ContainerNode
|
Constructor Summary |
Field()
|
Field(java.lang.String xmltag,
java.lang.Boolean required)
|
Field(java.lang.String xmltag,
java.lang.Boolean required,
java.lang.Boolean truncatable)
|
| Methods inherited from class org.milyn.edisax.model.internal.ValueNode |
getDataType, getDataTypeParametersString, getDecoder, getMaxLength, getMinLength, getTypeClass, getTypeParameters, isValidForType, setDataType, setDataTypeParameters, setMaxLength, setMinLength |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field
public Field()
Field
public Field(java.lang.String xmltag,
java.lang.Boolean required)
Field
public Field(java.lang.String xmltag,
java.lang.Boolean required,
java.lang.Boolean truncatable)
getComponents
public java.util.List<Component> getComponents()
addComponent
public Field addComponent(Component component)
isRequired
public boolean isRequired()
setRequired
public void setRequired(java.lang.Boolean value)
isTruncatable
public boolean isTruncatable()
- Description copied from interface:
ContainerNode
- Can this Container Node be truncated if the trailing contained node values are
empty.
- Specified by:
isTruncatable in interface ContainerNode
- Returns:
- True of the container is truncatable, otherwise false.
setTruncatable
public void setTruncatable(java.lang.Boolean value)
Copyright © 2011. All Rights Reserved.