Enum Class PropertySerializabilityMetadata.PropertySerializability
java.lang.Object
java.lang.Enum<PropertySerializabilityMetadata.PropertySerializability>
org.kuali.rice.krad.util.documentserializer.PropertySerializabilityMetadata.PropertySerializability
- All Implemented Interfaces:
Serializable,Comparable<PropertySerializabilityMetadata.PropertySerializability>,Constable
- Enclosing interface:
PropertySerializabilityMetadata
public static enum PropertySerializabilityMetadata.PropertySerializability
extends Enum<PropertySerializabilityMetadata.PropertySerializability>
See docs for the elements of this enum
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that the property represented by this metadata object should be serialized (i.e. have an open and close XML tag rendered).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. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SERIALIZE_OBJECT_AND_ALL_PRIMITIVES
public static final PropertySerializabilityMetadata.PropertySerializability SERIALIZE_OBJECT_AND_ALL_PRIMITIVESIndicates 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 toPropertySerializabilityMetadata.getSerializableChildProperty(String)returns a non-null result when the child property name is passed in. -
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 toPropertySerializabilityMetadata.getSerializableChildProperty(String)returns a non-null result when the child property name is passed in.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-