org.kuali.rice.krad.util.documentserializer
Enum PropertySerializabilityMetadata.PropertySerializability

java.lang.Object
  extended by java.lang.Enum<PropertySerializabilityMetadata.PropertySerializability>
      extended by org.kuali.rice.krad.util.documentserializer.PropertySerializabilityMetadata.PropertySerializability
All Implemented Interfaces:
Serializable, Comparable<PropertySerializabilityMetadata.PropertySerializability>
Enclosing interface:
PropertySerializabilityMetadata

public static enum PropertySerializabilityMetadata.PropertySerializability
extends Enum<PropertySerializabilityMetadata.PropertySerializability>

See docs for the elements of this enum


Enum Constant Summary
SERIALIZE_OBJECT
          Indicates that the property represented by this metadata object should be serialized (i.e.
SERIALIZE_OBJECT_AND_ALL_PRIMITIVES
          Indicates that the property represented by this metadata object should be serialized (i.e.
 
Method Summary
static PropertySerializabilityMetadata.PropertySerializability valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PropertySerializabilityMetadata.PropertySerializability[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SERIALIZE_OBJECT_AND_ALL_PRIMITIVES

public static final PropertySerializabilityMetadata.PropertySerializability SERIALIZE_OBJECT_AND_ALL_PRIMITIVES
Indicates that the property represented by this metadata object should be serialized (i.e. have an open and close XML tag rendered) as well as all of the property's primitives. It does not mean that all child non-primitive properties should be serialized. Child non-primitives are only serialized if a call to PropertySerializabilityMetadata#getSerializableSubProperty(String) returns a non-null result when the child property name is passed in.


SERIALIZE_OBJECT

public static final PropertySerializabilityMetadata.PropertySerializability SERIALIZE_OBJECT
Indicates that the property represented by this metadata object should be serialized (i.e. have an open and close XML tag rendered). Child properties (primitive or otherwise) are only serialized if a call to PropertySerializabilityMetadata#getSerializableSubProperty(String) returns a non-null result when the child property name is passed in.

Method Detail

values

public static PropertySerializabilityMetadata.PropertySerializability[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (PropertySerializabilityMetadata.PropertySerializability c : PropertySerializabilityMetadata.PropertySerializability.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static PropertySerializabilityMetadata.PropertySerializability valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.