BEA Systems, Inc.

com.beasys.commerce.foundation.property
Interface PropertyMetaData

All Known Implementing Classes:
PropertyMetaDataImpl

public interface PropertyMetaData
extends Belonging

there is a hidden field called propertyMetaDataId in the table that is generated by a sequencer Attribute: description The PK information of the

Attribute: propertyMetaDataId Attribute: values Attribute: isExplicit Attribute: isMultiValued Attribute: isRestricted Attribute: propertyType Attribute: schemaId Attribute: type

See Also:
PropertyMetaDataHome, PropertyMetaDataImpl

Method Summary
 boolean addAllValues(java.util.Collection collection)
          Adds all of the elements in the specified collection to this collection (optional operation).
 boolean addValues(AbstractPropertyMetaData element)
          Ensures that this collection contains the specified element (optional operation).
 void clearValues()
          Removes all of the elements from this collection (optional operation).
 boolean containsAllValues(java.util.Collection c)
          Returns true if this collection contains all of the elements in the specified collection.
 boolean containsValues(AbstractPropertyMetaData element)
          Returns true if this collection contains the specified element.
 boolean equalsValues(java.lang.Object object)
          Compares the specified object with this collection for equality.
 java.util.Collection getAllValues()
          Returns the entire collection
 java.lang.Object getDefaultValue()
           
 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()
           
 long getSchemaId()
          Get the value of schemaId
 int getType()
          Get the value of type
 int hashCodeValues()
          Returns the hash code value for this collection.
 boolean isEmptyValues()
          Returns true if this collection contains no elements.
 java.util.Iterator iteratorValues()
          Returns an iterator over the elements in this collection.
 boolean removeAllValues(java.util.Collection collection)
          Removes all this collection's elements that are also contained in the specified collection (optional operation).
 boolean removeValues(AbstractPropertyMetaData element)
          Removes a single instance of the specified element from this collection, if it is present (optional operation).
 boolean retainAllValues(java.util.Collection collection)
          Retains only the elements in this collection that are contained in the specified collection (optional operation).
 void setAllValues(java.util.Collection collection)
          Sets the entire collection
 void setDefaultValue(java.lang.Object defaultValue)
           
 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)
           
 void setSchemaId(long schemaId)
          Set the value of schemaId
 void setType(int type)
          Set the value of type
 int sizeValues()
          Returns the number of elements in this collection.
 boolean validate(java.lang.Object value)
           
 
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

getPropertyMetaDataId

public long getPropertyMetaDataId()
Get the value of propertyMetaDataId
Returns:
propertyMetaDataId.

setPropertyMetaDataId

public void setPropertyMetaDataId(long propertyMetaDataId)
Set the value of propertyMetaDataId
Parameters:
propertyMetaDataId - propertyMetaDataId to be added

getAllValues

public java.util.Collection getAllValues()
Returns the entire collection

setAllValues

public void setAllValues(java.util.Collection collection)
Sets the entire collection

addValues

public boolean addValues(AbstractPropertyMetaData element)
Ensures that this collection contains the specified element (optional operation).

addAllValues

public boolean addAllValues(java.util.Collection collection)
Adds all of the elements in the specified collection to this collection (optional operation).

clearValues

public void clearValues()
Removes all of the elements from this collection (optional operation).

containsValues

public boolean containsValues(AbstractPropertyMetaData element)
Returns true if this collection contains the specified element.

containsAllValues

public boolean containsAllValues(java.util.Collection c)
Returns true if this collection contains all of the elements in the specified collection.

equalsValues

public boolean equalsValues(java.lang.Object object)
Compares the specified object with this collection for equality.

hashCodeValues

public int hashCodeValues()
Returns the hash code value for this collection.

isEmptyValues

public boolean isEmptyValues()
Returns true if this collection contains no elements.

iteratorValues

public java.util.Iterator iteratorValues()
Returns an iterator over the elements in this collection.

removeValues

public boolean removeValues(AbstractPropertyMetaData element)
Removes a single instance of the specified element from this collection, if it is present (optional operation).

removeAllValues

public boolean removeAllValues(java.util.Collection collection)
Removes all this collection's elements that are also contained in the specified collection (optional operation).

retainAllValues

public boolean retainAllValues(java.util.Collection collection)
Retains only the elements in this collection that are contained in the specified collection (optional operation).

sizeValues

public int sizeValues()
Returns the number of elements in this collection.

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

getSchemaId

public long getSchemaId()
Get the value of schemaId
Returns:
schemaId.

setSchemaId

public void setSchemaId(long schemaId)
Set the value of schemaId
Parameters:
schemaId - schemaId 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

validate

public boolean validate(java.lang.Object value)

getDefaultValue

public java.lang.Object getDefaultValue()

getRestrictedValues

public java.util.Collection getRestrictedValues()

setDefaultValue

public void setDefaultValue(java.lang.Object defaultValue)

setRestrictedValues

public void setRestrictedValues(java.util.Collection restrictedValues)

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved