|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DefaultFieldValue
DefaultFieldValueHome
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 |
---|---|---|---|
boolean | boolean | R, W, Cch, Qry | |
date | Date |
R, W, Cch, Qry | |
displayOrder | int | R, W, Cch, Qry, Req | |
fieldDefinition | FieldDefinition |
R, W, Cch, Qry, Req | |
id | String |
R, W, Cch, Id, Qry, Req | |
number | float | R, W, Cch, Qry | |
string | String |
R, W, Cch, Qry |
Property boolean: boolean
isBoolean()
setBoolean(boolean)
Property date: Date
getDate()
setDate(java.util.Date)
getDisplayOrder()
setDisplayOrder(int)
Property fieldDefinition: FieldDefinition
getFieldDefinition()
setFieldDefinition(atg.svc.repository.beans.FieldDefinition)
Property id: String
getId()
setId(java.lang.String)
Property number: float
getNumber()
setNumber(float)
Property string: String
getString()
setString(java.lang.String)
Method Summary | |
---|---|
boolean |
_isMutable()
Returns true if the item is mutable. |
void |
copyTo(DefaultFieldValue destination)
Copies the property values of this instance to another instance of the same data type. |
java.util.Date |
getDate()
Getter for property date |
int |
getDisplayOrder()
Getter for property displayOrder |
FieldDefinition |
getFieldDefinition()
Getter for property fieldDefinition |
boolean |
getHasBoolean()
Returns true if the value of property boolean is null. |
boolean |
getHasNumber()
Returns true if the value of property number is null. |
java.lang.String |
getId()
Getter for property id |
float |
getNumber()
Getter for property number |
java.lang.String |
getString()
Getter for property string |
java.lang.Object |
getValue()
|
boolean |
isBoolean()
Getter for property boolean |
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 |
setBoolean(boolean value)
Setter for property boolean . |
void |
setDate(java.util.Date value)
Setter for property date . |
void |
setDisplayOrder(int value)
Setter for property displayOrder . |
void |
setFieldDefinition(FieldDefinition value)
Setter for property fieldDefinition . |
void |
setHasBoolean(boolean value)
If this is set to false, then the underlying value of property boolean is set to null. |
void |
setHasNumber(boolean value)
If this is set to false, then the underlying value of property number is set to null. |
void |
setId(java.lang.String value)
Setter for property id . |
void |
setNumber(float value)
Setter for property number . |
void |
setString(java.lang.String value)
Setter for property string . |
void |
setValue(java.lang.Object value)
|
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 |
---|
boolean isBoolean() throws javax.ejb.EJBException
javax.ejb.EJBException
boolean getHasBoolean() throws javax.ejb.EJBException
javax.ejb.EJBException
void setBoolean(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 setHasBoolean(boolean value) throws javax.ejb.EJBException
javax.ejb.EJBException
java.util.Date getDate() throws javax.ejb.EJBException
Date
javax.ejb.EJBException
void setDate(java.util.Date 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
- Date
javax.ejb.EJBException
int getDisplayOrder() throws javax.ejb.EJBException
javax.ejb.EJBException
void setDisplayOrder(int 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
- int
javax.ejb.EJBException
FieldDefinition getFieldDefinition() throws javax.ejb.EJBException
FieldDefinition
javax.ejb.EJBException
void setFieldDefinition(FieldDefinition 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
- FieldDefinition
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
float getNumber() throws javax.ejb.EJBException
javax.ejb.EJBException
boolean getHasNumber() throws javax.ejb.EJBException
javax.ejb.EJBException
void setNumber(float 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
- float
javax.ejb.EJBException
void setHasNumber(boolean value) throws javax.ejb.EJBException
javax.ejb.EJBException
java.lang.String getString() throws javax.ejb.EJBException
String
javax.ejb.EJBException
void setString(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(DefaultFieldValue 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.Object getValue() throws javax.ejb.EJBException
javax.ejb.EJBException
- A system-level error occurredvoid setValue(java.lang.Object value) throws javax.ejb.EJBException
value
- Sets the value
javax.ejb.EJBException
- A system-level error occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |