|
BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.beasys.commerce.foundation.BelongingImpl
|
+--com.beasys.commerce.foundation.property.PropertyMetaDataImpl
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.
PropertyMetaData,
PropertyMetaDataHome, Serialized Form| Field Summary | |
protected java.lang.Object |
defaultValue
Used to keep track of the default value associated with this PropertyMetaData. |
java.lang.String |
description
Description is a textual description of the property. |
boolean |
isExplicit
Specifies whether the property is defined as a field of the ConfigurableEntity concrete implementation or as a dynamic property on the ConfigurableEntity. |
boolean |
isMultiValued
Specifies whether the property is single-valued or multi-valued. |
boolean |
isRestricted
Specifies whether the values that can be associated with this property are restricted or not. |
long |
propertyMetaDataId
Unique ID of this PropertyMetaData. |
PropertyType |
propertyType
Reference the PropertyType instance (either SingleValuePropertyType or MultiValuePropertyType object). |
protected java.util.HashSet |
restrictedValues
Used to keep track of the restricted values. |
long |
schemaId
Unique ID of the Schema that contains this PropertyMetaData. |
int |
type
Type is the data type of the property value. |
| Fields inherited from class com.beasys.commerce.foundation.BelongingImpl |
__classIdentifier, __containingBelonging, __containingEntity, __mapKey, __sequenceNumber, _isDirty |
| Constructor Summary | |
PropertyMetaDataImpl()
Default contructor. |
|
| Method Summary | |
int |
compareTo(java.lang.Object o)
Compare this belonging to another |
java.lang.Object |
getDefaultValue()
Returns the default value for the propert. |
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 |
long |
getPropertyMetaDataId()
Get the value of propertyMetaDataId |
PropertyType |
getPropertyType()
Get the value of propertyType |
java.util.Collection |
getRestrictedValues()
Returns the collection of restricted values for the property. |
long |
getSchemaId()
Get the value of schemaId |
int |
getType()
Get the value of type |
java.lang.String |
interfaceName()
interfaceName() returns the unqualified name of the interface from the UML model |
void |
setByValue(Belonging value)
It is possible to call set-by-value with a superclass. |
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 |
setPropertyMetaDataId(long propertyMetaDataId)
Set the value of propertyMetaDataId |
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 |
setSchemaId(long schemaId)
Set the value of schemaId |
void |
setType(int type)
Set the value of type |
boolean |
validate(java.lang.Object value)
|
Belonging |
value()
value() is a more typesafe implementation of clone() |
| Methods inherited from class com.beasys.commerce.foundation.BelongingImpl | |||||||||||||||||||||
clearRelationalBinding, clearRelationalBinding, clearRelationalBinding, clearRelationalBinding, clone, doRelationalBinding, doRelationalBinding, doRelationalBindingOnElement, doRelationalBindingOnElement, doRelationalBindingOnElement, doRelationalBindingOnSingleton, doRelationalBindingOnSingleton, doRelationalBindingOnSingleton, doRelationalBindingWithMapKey, doRelationalBindingWithMapKey, doRelationalBindingWithMapKey, enumerateRelationalBinding, enumerateRelationalBinding, equals, get__classIdentifier, get__containingBelonging, get__containingEntity, get__containingEntityReference, get__mapKey,
| |||||||||||||||||||||