|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.svc.repository.beans._OptionSegment_Impl
atg.svc.repository.beans._OptionSegment_BeanImpl
public class _OptionSegment_BeanImpl
Field Summary |
---|
Fields inherited from interface atg.repository.tojava.runtime.RJBeanObject |
---|
CLASS_VERSION |
Constructor Summary | |
---|---|
_OptionSegment_BeanImpl()
|
Method Summary | |
---|---|
javax.ejb.EJBLocalHome |
_getRepositoryHome()
Gets the repository home that corresponds to this bean. |
boolean |
_isMutable()
Returns true if the item is mutable. |
javax.ejb.EJBLocalHome |
getEJBLocalHome()
Gets the home associated with this repository object. |
java.lang.String |
getId()
Getter for property id |
java.lang.String |
getName()
Getter for property name |
java.lang.Object |
getPrimaryKey()
|
int |
getPriority()
Getter for property priority |
boolean |
isDefault()
Getter for property default |
boolean |
isIdentical(javax.ejb.EJBLocalObject obj)
Returns true if the given object is identical to this one. |
void |
prepareInstanceForWrite()
This must be called if the application intends to both read and write the instance in the same transaction, and it intends to do a read before doing a write. |
void |
remove()
Removes this object from the repository. |
void |
setDefault(boolean value)
Setter for property default . |
void |
setId(java.lang.String value)
Setter for property id . |
void |
setName(java.lang.String value)
Setter for property name . |
void |
setPriority(int value)
Setter for property priority . |
void |
writeInstance()
This must be called after modifying an instance with a persistent implementation to guarantee that all changes are made persistent and visible to queries. |
Methods inherited from class atg.svc.repository.beans._OptionSegment_Impl |
---|
_getItemDescriptorName, _getObjectInterfaceClass, copyTo, isRemoved |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface atg.repository.tojava.runtime.RJObject |
---|
_getItemDescriptorName, _getObjectInterfaceClass |
Constructor Detail |
---|
public _OptionSegment_BeanImpl()
Method Detail |
---|
public boolean isDefault()
OptionSegment
isDefault
in interface OptionSegment
isDefault
in interface atg.svc.repository.beans.pv.OptionSegment_PV
public void setDefault(boolean value)
OptionSegment
OptionSegment.writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The OptionSegment.prepareInstanceForWrite()
method may need to be called before making any changes.
setDefault
in interface OptionSegment
setDefault
in interface atg.svc.repository.beans.pv.OptionSegment_PV
value
- booleanpublic java.lang.String getId()
OptionSegment
getId
in interface OptionSegment
getId
in interface atg.svc.repository.beans.pv.OptionSegment_PV
String
public void setId(java.lang.String value)
OptionSegment
OptionSegment.writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The OptionSegment.prepareInstanceForWrite()
method may need to be called before making any changes.
setId
in interface OptionSegment
setId
in interface atg.svc.repository.beans.pv.OptionSegment_PV
value
- String
public java.lang.String getName()
OptionSegment
getName
in interface OptionSegment
getName
in interface atg.svc.repository.beans.pv.OptionSegment_PV
String
public void setName(java.lang.String value)
OptionSegment
OptionSegment.writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The OptionSegment.prepareInstanceForWrite()
method may need to be called before making any changes.
setName
in interface OptionSegment
setName
in interface atg.svc.repository.beans.pv.OptionSegment_PV
value
- String
public int getPriority()
OptionSegment
getPriority
in interface OptionSegment
getPriority
in interface atg.svc.repository.beans.pv.OptionSegment_PV
public void setPriority(int value)
OptionSegment
OptionSegment.writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The OptionSegment.prepareInstanceForWrite()
method may need to be called before making any changes.
setPriority
in interface OptionSegment
setPriority
in interface atg.svc.repository.beans.pv.OptionSegment_PV
value
- intpublic void writeInstance() throws javax.ejb.EJBException
atg.repository.tojava.runtime.RJObject
writeInstance
in interface atg.repository.tojava.runtime.RJObject
writeInstance
in interface OptionSegment
writeInstance
in interface atg.svc.repository.beans.pv.OptionSegment_PV
javax.ejb.EJBException
- If the operation fails.public void prepareInstanceForWrite() throws javax.ejb.EJBException
atg.repository.tojava.runtime.RJObject
prepareInstanceForWrite
in interface atg.repository.tojava.runtime.RJObject
prepareInstanceForWrite
in interface OptionSegment
prepareInstanceForWrite
in interface atg.svc.repository.beans.pv.OptionSegment_PV
javax.ejb.EJBException
- If the operation fails.public boolean _isMutable()
_isMutable
in interface OptionSegment
_isMutable
in interface atg.svc.repository.beans.pv.OptionSegment_PV
public javax.ejb.EJBLocalHome getEJBLocalHome()
atg.repository.tojava.runtime.RJObject
getEJBLocalHome
in interface atg.repository.tojava.runtime.RJObject
getEJBLocalHome
in interface javax.ejb.EJBLocalObject
public javax.ejb.EJBLocalHome _getRepositoryHome()
atg.repository.tojava.runtime.RJBeanObject
_getRepositoryHome
in interface atg.repository.tojava.runtime.RJBeanObject
public java.lang.Object getPrimaryKey() throws javax.ejb.EJBException
getPrimaryKey
in interface javax.ejb.EJBLocalObject
javax.ejb.EJBException
public boolean isIdentical(javax.ejb.EJBLocalObject obj)
atg.repository.tojava.runtime.RJObject
isIdentical
in interface atg.repository.tojava.runtime.RJObject
isIdentical
in interface javax.ejb.EJBLocalObject
obj
- The object to compare.
public void remove() throws javax.ejb.RemoveException
atg.repository.tojava.runtime.RJObject
remove
in interface atg.repository.tojava.runtime.RJObject
remove
in interface javax.ejb.EJBLocalObject
javax.ejb.RemoveException
- If the remove fails.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |