BEA Systems, Inc.

com.beasys.commerce.foundation
Interface Belonging

All Known Subinterfaces:
AbstractPropertyMetaData, Criteria, Expression, Logical, MultiValuePropertyType, PropertyLocator, PropertyMapKey, PropertyMetaData, PropertyMetaDataBoolean, PropertyMetaDataDouble, PropertyMetaDataFloat, PropertyMetaDataInteger, PropertyMetaDataLong, PropertyMetaDataText, PropertyMetaDataTimeStamp, PropertyType, Search, SingleValuePropertyType, State, Transition
All Known Implementing Classes:
BelongingImpl

public interface Belonging
extends BusinessSmartComponent, java.lang.Comparable, java.lang.Cloneable

A Belonging is the simplest form of Business Smart Component. It is a lightweight, local value that can serialized. A Belonging must "belong" to another object. That object must have the only reference to that Belonging. For this reason the "value" of the Belonging must make a copy of the object that it will return. Belongings must be allocated from a corresponding SmartHome. Objects that have a stereotype of Belonging will automatically have a Smart Home and Base Implemenation class generated by the Theory's SmartGenerator. @see com.beasys.commerce.foundation.BelongingImpl

See Also:
SmartHome

Method Summary
 java.lang.Object clone()
           
 boolean equals(java.lang.Object anObject)
           
 java.lang.String interfaceName()
           
 void setByValue(Belonging value)
           
 Belonging value()
           
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

equals

public boolean equals(java.lang.Object anObject)
Overrides:
equals in class java.lang.Object

value

public Belonging value()

clone

public java.lang.Object clone()

interfaceName

public java.lang.String interfaceName()

setByValue

public void setByValue(Belonging value)

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved