org.kuali.rice.krad.util.documentserializer
Class PropertySerializerTrieNode

java.lang.Object
  extended by org.kuali.rice.krad.util.documentserializer.PropertySerializerTrieNode
All Implemented Interfaces:
PropertySerializabilityMetadata

public class PropertySerializerTrieNode
extends Object
implements PropertySerializabilityMetadata

A node in the trie.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.kuali.rice.krad.util.documentserializer.PropertySerializabilityMetadata
PropertySerializabilityMetadata.PropertySerializability
 
Constructor Summary
PropertySerializerTrieNode(String pathString, String propertyNameComponent)
           
 
Method Summary
 void addChildNode(PropertySerializerTrieNode child)
           
 PropertySerializerTrieNode getChildNode(String propertyNameComponent)
          Retrieves the child node with the given name
 String getPathString()
          Returns the full path string of the property corresponding to this metadata.
 String getPropertyNameComponent()
          The name of this property, relative to the parent node (i.e.
 PropertySerializabilityMetadata.PropertySerializability getPropertySerializability()
          Returns the serializability of this property.
 PropertySerializabilityMetadata getSerializableChildProperty(String propertyNameComponent)
          Returns metadata bout a child property, if it exists
 void setPropertySerializabilityToObjectAndAllPrimitives()
          Marks that all primitives of this object will be serialized.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertySerializerTrieNode

public PropertySerializerTrieNode(String pathString,
                                  String propertyNameComponent)
Method Detail

addChildNode

public void addChildNode(PropertySerializerTrieNode child)

getPropertyNameComponent

public String getPropertyNameComponent()
The name of this property, relative to the parent node (i.e. the child node name relative to its parents).

Returns:

getChildNode

public PropertySerializerTrieNode getChildNode(String propertyNameComponent)
Retrieves the child node with the given name

Parameters:
propertyNameComponent -
Returns:

getSerializableChildProperty

public PropertySerializabilityMetadata getSerializableChildProperty(String propertyNameComponent)
Description copied from interface: PropertySerializabilityMetadata
Returns metadata bout a child property, if it exists

Specified by:
getSerializableChildProperty in interface PropertySerializabilityMetadata
Parameters:
propertyNameComponent - the name of a child property, relative to this property (i.e. no .'s in the name)
Returns:
null if there is no child property with the specified name, otherwise, metadata about the child
See Also:
PropertySerializabilityMetadata.getSerializableChildProperty(java.lang.String)

getPathString

public String getPathString()
Description copied from interface: PropertySerializabilityMetadata
Returns the full path string of the property corresponding to this metadata.

Specified by:
getPathString in interface PropertySerializabilityMetadata
Returns:
See Also:
PropertySerializabilityMetadata.getPathString()

getPropertySerializability

public PropertySerializabilityMetadata.PropertySerializability getPropertySerializability()
Description copied from interface: PropertySerializabilityMetadata
Returns the serializability of this property. See PropertySerializabilityMetadata.PropertySerializability.

Specified by:
getPropertySerializability in interface PropertySerializabilityMetadata
Returns:
See Also:
PropertySerializabilityMetadata.getPropertySerializability()

setPropertySerializabilityToObjectAndAllPrimitives

public void setPropertySerializabilityToObjectAndAllPrimitives()
Marks that all primitives of this object will be serialized.


toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.