|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SegmentedOption
SegmentedOptionHome
Attribute Name | Attribute Value |
---|---|
atg.repository.query.SupportedQueries | and, comparison, constant, inFolders, includesAny, includes, includesItem, isNull, matchId, not, or, patternMatch, property, propertyOf, unconstrained, patternMatch, textSearch |
Property Name | Property Type | Property Description | Flags |
---|---|---|---|
accessRight | String |
R, W, Cch, Qry | |
allowedValues | String [] |
R, W, Cch, Mv, Qry | |
dataType | SegmentedOptionDataType |
R, W, Cch, Qry | |
defaultValue | String |
value to user when none has been input by the user | R, W, Cch, Qry |
id | String |
R, W, Cch, Id, Qry, Req | |
info | Map |
R, W, Cch, CoM, Mv, Qry | |
multiValued | boolean | true if the value represent multiple values | R, W, Cch, Qry |
name | String |
unique logical name of the option | R, W, Cch, Qry, Req |
rawValue | String |
value input by the user | R, W, Cch, Qry |
segment | String |
the segment associated with the option | R, W, Cch, Qry, Req |
Property accessRight: String
getAccessRight()
setAccessRight(java.lang.String)
Property allowedValues: String
[]
getAllowedValues()
setAllowedValues(java.lang.String[])
Property dataType: SegmentedOptionDataType
getDataType()
setDataType(atg.svc.repository.beans.SegmentedOptionDataType)
Attribute Name | Attribute Value |
---|---|
useCodeForValue | false |
Property defaultValue: String
getDefaultValue()
setDefaultValue(java.lang.String)
Property id: String
getId()
setId(java.lang.String)
Property info: Map
getInfo()
setInfo(java.util.Map)
Property multiValued: boolean
isMultiValued()
setMultiValued(boolean)
Property name: String
getName()
setName(java.lang.String)
Property rawValue: String
getRawValue()
setRawValue(java.lang.String)
Property segment: String
getSegment()
setSegment(java.lang.String)
Field Summary |
---|
Fields inherited from interface atg.svc.repository.beans.Option |
---|
CLASS_VERSION |
Method Summary | |
---|---|
boolean |
_isMutable()
Returns true if the item is mutable. |
void |
copyTo(SegmentedOption destination)
Copies the property values of this instance to another instance of the same data type. |
java.lang.String |
getAccessRight()
Getter for property accessRight |
java.lang.String[] |
getAllowedValues()
Getter for property allowedValues |
java.lang.String[] |
getArrayValue()
Gets the value of the option as an array of type String. |
SegmentedOptionDataType |
getDataType()
Getter for property dataType |
java.lang.String |
getDefaultValue()
Getter for property defaultValue |
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()
Getter for property name |
java.lang.String |
getRawValue()
Getter for property rawValue |
java.lang.String |
getSegment()
Getter for property segment |
java.lang.String |
getValue()
Gets the value of the option. |
boolean |
isMultiValued()
Getter for property multiValued |
boolean |
isRemoved()
Returns true if the underlying object has been removed. |
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 |
setAccessRight(java.lang.String value)
Setter for property accessRight . |
void |
setAllowedValues(java.lang.String[] value)
Setter for property allowedValues . |
void |
setArrayValue(java.lang.String[] value)
Set the value of the option as an array of type String. |
void |
setDataType(SegmentedOptionDataType value)
Setter for property dataType . |
void |
setDefaultValue(java.lang.String value)
Setter for property defaultValue . |
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)
Setter for property name . |
void |
setRawValue(java.lang.String value)
Setter for property rawValue . |
void |
setSegment(java.lang.String value)
Setter for property segment . |
void |
setValue(java.lang.String value)
Sets the value on the option. |
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 interface javax.ejb.EJBLocalObject |
---|
getEJBLocalHome, getPrimaryKey, isIdentical, remove |
Method Detail |
---|
java.lang.String getAccessRight() throws javax.ejb.EJBException
String
javax.ejb.EJBException
void setAccessRight(java.lang.String value) throws javax.ejb.EJBException
writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite()
method may need to be called before making any changes.
value
- String
javax.ejb.EJBException
java.lang.String[] getAllowedValues() throws javax.ejb.EJBException
getAllowedValues
in interface Option
String
[]
javax.ejb.EJBException
void setAllowedValues(java.lang.String[] value) throws javax.ejb.EJBException
writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite()
method may need to be called before making any changes.
value
- String
[]
javax.ejb.EJBException
SegmentedOptionDataType getDataType() throws javax.ejb.EJBException
SegmentedOptionDataType
javax.ejb.EJBException
void setDataType(SegmentedOptionDataType value) throws javax.ejb.EJBException
writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite()
method may need to be called before making any changes.
value
- SegmentedOptionDataType
javax.ejb.EJBException
java.lang.String getDefaultValue() throws javax.ejb.EJBException
getDefaultValue
in interface Option
String
javax.ejb.EJBException
void setDefaultValue(java.lang.String value) throws javax.ejb.EJBException
writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite()
method may need to be called before making any changes.
setDefaultValue
in interface Option
value
- String
javax.ejb.EJBException
java.lang.String getId() throws javax.ejb.EJBException
String
javax.ejb.EJBException
void setId(java.lang.String value) throws javax.ejb.EJBException
writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite()
method may need to be called before making any changes.
value
- String
javax.ejb.EJBException
java.util.Map getInfo() throws javax.ejb.EJBException
Map
javax.ejb.EJBException
void setInfo(java.util.Map value) throws javax.ejb.EJBException
writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite()
method may need to be called before making any changes.
value
- Map
javax.ejb.EJBException
boolean isMultiValued() throws javax.ejb.EJBException
javax.ejb.EJBException
boolean getHasMultiValued() throws javax.ejb.EJBException
javax.ejb.EJBException
void setMultiValued(boolean value) throws javax.ejb.EJBException
writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite()
method may need to be called before making any changes.
value
- boolean
javax.ejb.EJBException
void setHasMultiValued(boolean value) throws javax.ejb.EJBException
javax.ejb.EJBException
java.lang.String getName() throws javax.ejb.EJBException
getName
in interface Option
String
javax.ejb.EJBException
void setName(java.lang.String value) throws javax.ejb.EJBException
writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite()
method may need to be called before making any changes.
setName
in interface Option
value
- String
javax.ejb.EJBException
java.lang.String getRawValue() throws javax.ejb.EJBException
getRawValue
in interface Option
String
javax.ejb.EJBException
void setRawValue(java.lang.String value) throws javax.ejb.EJBException
writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite()
method may need to be called before making any changes.
setRawValue
in interface Option
value
- String
javax.ejb.EJBException
java.lang.String getSegment() throws javax.ejb.EJBException
String
javax.ejb.EJBException
void setSegment(java.lang.String value) throws javax.ejb.EJBException
writeInstance()
method must be called afterwards to insure that any changes are made persistent (if the instance is backed by a persistent implementation). The prepareInstanceForWrite()
method may need to be called before making any changes.
value
- String
javax.ejb.EJBException
boolean isRemoved() throws javax.ejb.EJBException
javax.ejb.EJBException
void copyTo(SegmentedOption destination) throws javax.ejb.EJBException
javax.ejb.EJBException
void writeInstance() throws javax.ejb.EJBException
javax.ejb.EJBException
void prepareInstanceForWrite() throws javax.ejb.EJBException
javax.ejb.EJBException
boolean _isMutable()
java.lang.String[] getArrayValue() throws javax.ejb.EJBException
javax.ejb.EJBException
- A system-level error occurredvoid setArrayValue(java.lang.String[] value) throws javax.ejb.EJBException
value
-
javax.ejb.EJBException
- A system-level error occurredvoid setValue(java.lang.String value) throws javax.ejb.EJBException
setValue
in interface Option
value
-
javax.ejb.EJBException
- A system-level error occurredjava.lang.String getValue() throws javax.ejb.EJBException
getValue
in interface Option
javax.ejb.EJBException
- A system-level error occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |