org.milyn.edisax.model.internal
Class Field

java.lang.Object
  extended by org.milyn.edisax.model.internal.MappingNode
      extended by org.milyn.edisax.model.internal.ValueNode
          extended by org.milyn.edisax.model.internal.Field
All Implemented Interfaces:
ContainerNode

public class Field
extends ValueNode
implements ContainerNode


Field Summary
 
Fields inherited from class org.milyn.edisax.model.internal.MappingNode
INDEXED_NODE_SEPARATOR
 
Constructor Summary
Field()
           
Field(String xmltag, String namespace, Boolean required)
           
Field(String xmltag, String namespace, Boolean required, Boolean truncatable)
           
 
Method Summary
 Field addComponent(Component component)
           
 List<Component> getComponents()
           
 boolean isRequired()
           
 boolean isTruncatable()
          Can this Container Node be truncated if the trailing contained node values are empty.
 void setRequired(Boolean value)
           
 void setTruncatable(Boolean value)
           
 
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 org.milyn.edisax.model.internal.MappingNode
getDocumentation, getJavaName, getName, getNamespace, getNodeTypeRef, getParent, getXmltag, setDocumentation, setName, setNamespace, setNodeTypeRef, setParent, setXmltag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Field

public Field()

Field

public Field(String xmltag,
             String namespace,
             Boolean required)

Field

public Field(String xmltag,
             String namespace,
             Boolean required,
             Boolean truncatable)
Method Detail

getComponents

public List<Component> getComponents()

addComponent

public Field addComponent(Component component)

isRequired

public boolean isRequired()

setRequired

public void setRequired(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(Boolean value)


Copyright © 2018. All rights reserved.