|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.svc.repository.beans._UserOption_Impl
atg.svc.repository.beans._UserOption_BeanImpl
public class _UserOption_BeanImpl
Field Summary |
---|
Fields inherited from interface atg.repository.tojava.runtime.RJBeanObject |
---|
CLASS_VERSION |
Fields inherited from interface atg.svc.repository.beans.Option |
---|
CLASS_VERSION |
Constructor Summary | |
---|---|
_UserOption_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. |
java.lang.String |
getAccessRight()
Getter for property accessRight |
java.lang.String[] |
getAllowedValues()
Gets the values allowed to be set on this option. |
UserOptionDataType |
getDataType()
Getter for property dataType |
java.lang.String |
getDefaultValue()
Gets the default value of the option to use when the user input value is null. |
javax.ejb.EJBLocalHome |
getEJBLocalHome()
Gets the home associated with this repository object. |
boolean |
getHasMultiValued()
Returns true if the value of property multiValued is null. |
java.lang.String |
getId()
Getter for property id |
java.util.Map |
getInfo()
Getter for property info |
java.lang.String |
getName()
Gets the name of the option. |
java.lang.Object |
getPrimaryKey()
|
java.lang.String |
getRawValue()
Gets the user input value of the option. |
java.lang.String |
getUserId()
Getter for property userId |
boolean |
isIdentical(javax.ejb.EJBLocalObject obj)
Returns true if the given object is identical to this one. |
boolean |
isMultiValued()
Getter for property multiValued |
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 |
setAccessRight(java.lang.String value)
Setter for property accessRight . |
void |
setAllowedValues(java.lang.String[] value)
Setter for property allowedValues . |
void |
setDataType(UserOptionDataType value)
Setter for property dataType . |
void |
setDefaultValue(java.lang.String value)
Sets the default value of the option to use when the user input value is null. |
void |
setHasMultiValued(boolean value)
If this is set to false, then the underlying value of property multiValued is set to null. |
void |
setId(java.lang.String value)
Setter for property id . |
void |
setInfo(java.util.Map value)
Setter for property info . |
void |
setMultiValued(boolean value)
Setter for property multiValued . |
void |
setName(java.lang.String value)
Sets the name of the option. |
void |
setRawValue(java.lang.String value)
Sets the user input value of the option. |
void |
setUserId(java.lang.String value)
Setter for property userId . |
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._UserOption_Impl |
---|
_getItemDescriptorName, _getObjectInterfaceClass, copyTo, getArrayValue, getValue, isRemoved, setArrayValue, setValue |
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 _UserOption_BeanImpl()
Method Detail |
---|
public java.lang.String getAccessRight()
atg.svc.repository.beans.pv.UserOption_PV
getAccessRight
in interface atg.svc.repository.beans.pv.UserOption_PV
getAccessRight
in interface UserOption
String
public void setAccessRight(java.lang.String value)
atg.svc.repository.beans.pv.UserOption_PV
UserOption_PV.writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The UserOption_PV.prepareInstanceForWrite()
method may need to be called before making any changes.
setAccessRight
in interface atg.svc.repository.beans.pv.UserOption_PV
setAccessRight
in interface UserOption
value
- String
public java.lang.String[] getAllowedValues()
Option
getAllowedValues
in interface Option
getAllowedValues
in interface atg.svc.repository.beans.pv.UserOption_PV
getAllowedValues
in interface UserOption
public void setAllowedValues(java.lang.String[] value)
atg.svc.repository.beans.pv.UserOption_PV
UserOption_PV.writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The UserOption_PV.prepareInstanceForWrite()
method may need to be called before making any changes.
setAllowedValues
in interface atg.svc.repository.beans.pv.UserOption_PV
setAllowedValues
in interface UserOption
value
- String
[]public UserOptionDataType getDataType()
atg.svc.repository.beans.pv.UserOption_PV
getDataType
in interface atg.svc.repository.beans.pv.UserOption_PV
getDataType
in interface UserOption
UserOptionDataType
public void setDataType(UserOptionDataType value)
atg.svc.repository.beans.pv.UserOption_PV
UserOption_PV.writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The UserOption_PV.prepareInstanceForWrite()
method may need to be called before making any changes.
setDataType
in interface atg.svc.repository.beans.pv.UserOption_PV
setDataType
in interface UserOption
value
- UserOptionDataType
public java.lang.String getDefaultValue()
Option
getDefaultValue
in interface Option
getDefaultValue
in interface atg.svc.repository.beans.pv.UserOption_PV
getDefaultValue
in interface UserOption
public void setDefaultValue(java.lang.String value)
Option
setDefaultValue
in interface Option
setDefaultValue
in interface atg.svc.repository.beans.pv.UserOption_PV
setDefaultValue
in interface UserOption
value
- The String value of the option.public java.lang.String getId()
atg.svc.repository.beans.pv.UserOption_PV
getId
in interface atg.svc.repository.beans.pv.UserOption_PV
getId
in interface UserOption
String
public void setId(java.lang.String value)
atg.svc.repository.beans.pv.UserOption_PV
UserOption_PV.writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The UserOption_PV.prepareInstanceForWrite()
method may need to be called before making any changes.
setId
in interface atg.svc.repository.beans.pv.UserOption_PV
setId
in interface UserOption
value
- String
public java.util.Map getInfo()
atg.svc.repository.beans.pv.UserOption_PV
getInfo
in interface atg.svc.repository.beans.pv.UserOption_PV
getInfo
in interface UserOption
Map
public void setInfo(java.util.Map value)
atg.svc.repository.beans.pv.UserOption_PV
UserOption_PV.writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The UserOption_PV.prepareInstanceForWrite()
method may need to be called before making any changes.
setInfo
in interface atg.svc.repository.beans.pv.UserOption_PV
setInfo
in interface UserOption
value
- Map
public boolean isMultiValued()
atg.svc.repository.beans.pv.UserOption_PV
isMultiValued
in interface atg.svc.repository.beans.pv.UserOption_PV
isMultiValued
in interface UserOption
public boolean getHasMultiValued() throws javax.ejb.EJBException
atg.svc.repository.beans.pv.UserOption_PV
getHasMultiValued
in interface atg.svc.repository.beans.pv.UserOption_PV
getHasMultiValued
in interface UserOption
javax.ejb.EJBException
public void setMultiValued(boolean value)
atg.svc.repository.beans.pv.UserOption_PV
UserOption_PV.writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The UserOption_PV.prepareInstanceForWrite()
method may need to be called before making any changes.
setMultiValued
in interface atg.svc.repository.beans.pv.UserOption_PV
setMultiValued
in interface UserOption
value
- booleanpublic void setHasMultiValued(boolean value) throws javax.ejb.EJBException
atg.svc.repository.beans.pv.UserOption_PV
setHasMultiValued
in interface atg.svc.repository.beans.pv.UserOption_PV
setHasMultiValued
in interface UserOption
javax.ejb.EJBException
public java.lang.String getName()
Option
getName
in interface Option
getName
in interface atg.svc.repository.beans.pv.UserOption_PV
getName
in interface UserOption
public void setName(java.lang.String value)
Option
setName
in interface Option
setName
in interface atg.svc.repository.beans.pv.UserOption_PV
setName
in interface UserOption
value
- The name of the option.public java.lang.String getRawValue()
Option
getRawValue
in interface Option
getRawValue
in interface atg.svc.repository.beans.pv.UserOption_PV
getRawValue
in interface UserOption
public void setRawValue(java.lang.String value)
Option
setRawValue
in interface Option
setRawValue
in interface atg.svc.repository.beans.pv.UserOption_PV
setRawValue
in interface UserOption
value
- The user input value of the option.public java.lang.String getUserId()
atg.svc.repository.beans.pv.UserOption_PV
getUserId
in interface atg.svc.repository.beans.pv.UserOption_PV
getUserId
in interface UserOption
String
public void setUserId(java.lang.String value)
atg.svc.repository.beans.pv.UserOption_PV
UserOption_PV.writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The UserOption_PV.prepareInstanceForWrite()
method may need to be called before making any changes.
setUserId
in interface atg.svc.repository.beans.pv.UserOption_PV
setUserId
in interface UserOption
value
- String
public void writeInstance() throws javax.ejb.EJBException
atg.repository.tojava.runtime.RJObject
writeInstance
in interface atg.repository.tojava.runtime.RJObject
writeInstance
in interface atg.svc.repository.beans.pv.UserOption_PV
writeInstance
in interface UserOption
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 atg.svc.repository.beans.pv.UserOption_PV
prepareInstanceForWrite
in interface UserOption
javax.ejb.EJBException
- If the operation fails.public boolean _isMutable()
_isMutable
in interface atg.svc.repository.beans.pv.UserOption_PV
_isMutable
in interface UserOption
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 |