BEA Systems, Inc.

com.beasys.commerce.foundation.property
Interface PropertyMetaData

All Known Implementing Classes:
PropertyMetaDataImpl

public interface PropertyMetaData
extends Belonging

The PropertyMetaData is a Belonging that contains the meta data that describes a property that can be set on a ConfigurableEntity. The property name is not part of the class because it is stored as a key in the Map the Schema owns. Attribute: description Description is a textual description of the property.

Attribute: isExplicit Specifies whether the property is defined as a field of the ConfigurableEntity concrete implementation or as a dynamic property on the ConfigurableEntity. If isExplicit is set to true, it indicates that the property is defined as a regular data field. If isExplicit is set to false, it indicates a dynamic property. Attribute: isMultiValued Specifies whether the property is single-valued or multi-valued. A multi-valued property supports a collection as its associated value. Attribute: isRestricted Specifies whether the values that can be associated with this property are restricted or not. Restricted property values are restricted to values listed in the restricted values. Unrestricted property values have no such limitation. Attribute: propertyType Attribute: type Type is the data type of the property value. * @see com.beasys.commerce.util.TypesHelper

See Also:
PropertyMetaDataHome, PropertyMetaDataImpl

Method Summary
 java.lang.Object getDefaultValue()
          Returns the default value for the property.
 java.lang.String getDescription()
          Get the value of description
 boolean getIsExplicit()
          Get the value of isExplicit
 boolean getIsMultiValued()
          Get the value of isMultiValued
 boolean getIsRestricted()
          Get the value of isRestricted
 PropertyType getPropertyType()
          Get the value of propertyType
 java.util.Collection getRestrictedValues()
          Returns the collection of restricted values for the property.
 int getType()
          Get the value of type
 void setDefaultValue(java.lang.Object defaultValue)
          Sets the default value for the property.
 void setDescription(java.lang.String description)
          Set the value of description
 void setIsExplicit(boolean isExplicit)
          Set the value of isExplicit
 void setIsMultiValued(boolean isMultiValued)
          Set the value of isMultiValued
 void setIsRestricted(boolean isRestricted)
          Set the value of isRestricted
 void setPropertyType(PropertyType propertyType)
          Set the value of propertyType
 void setRestrictedValues(java.util.Collection restrictedValues)
          Sets the collection of restricted values for the property.
 void setType(int type)
          Set the value of type
 
Methods inherited from interface com.beasys.commerce.foundation.Belonging
clone, equals, interfaceName, setByValue, value
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getDescription

public java.lang.String getDescription()
Get the value of description
Returns:
description.

setDescription

public void setDescription(java.lang.String description)
Set the value of description
Parameters:
description - description to be added

getIsExplicit

public boolean getIsExplicit()
Get the value of isExplicit
Returns:
isExplicit.

setIsExplicit

public void setIsExplicit(boolean isExplicit)
Set the value of isExplicit
Parameters:
isExplicit - isExplicit to be added

getIsMultiValued

public boolean getIsMultiValued()
Get the value of isMultiValued
Returns:
isMultiValued.

setIsMultiValued

public void setIsMultiValued(boolean isMultiValued)
Set the value of isMultiValued
Parameters:
isMultiValued - isMultiValued to be added

getIsRestricted

public boolean getIsRestricted()
Get the value of isRestricted
Returns:
isRestricted.

setIsRestricted

public void setIsRestricted(boolean isRestricted)
Set the value of isRestricted
Parameters:
isRestricted - isRestricted to be added

getPropertyType

public PropertyType getPropertyType()
Get the value of propertyType
Returns:
propertyType.

setPropertyType

public void setPropertyType(PropertyType propertyType)
Set the value of propertyType
Parameters:
propertyType - propertyType to be added

getType

public int getType()
Get the value of type
Returns:
type.

setType

public void setType(int type)
Set the value of type
Parameters:
type - type to be added

getDefaultValue

public java.lang.Object getDefaultValue()
Returns the default value for the property.

getRestrictedValues

public java.util.Collection getRestrictedValues()
Returns the collection of restricted values for the property.

setDefaultValue

public void setDefaultValue(java.lang.Object defaultValue)
Sets the default value for the property.

setRestrictedValues

public void setRestrictedValues(java.util.Collection restrictedValues)
Sets the collection of restricted values for the property.

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved