public class FndAttribute extends java.lang.Object implements java.lang.Cloneable, java.io.Serializable, FndSortField
Modifier and Type | Class and Description |
---|---|
static interface |
FndAttribute.Iterator
An iterator over a list of attributes.
|
Modifier and Type | Field and Description |
---|---|
protected FndAttributeMeta |
meta
Meta-data of the attribute.
|
protected FndAbstractRecord |
rec
Pointer to the parent record.
|
protected java.lang.Object |
value
Value of the attribute.
|
Modifier | Constructor and Description |
---|---|
protected |
FndAttribute() |
protected |
FndAttribute(FndAttributeMeta meta) |
protected |
FndAttribute(FndAttributeMeta meta,
java.lang.Object value) |
protected |
FndAttribute(FndAttributeType type) |
protected |
FndAttribute(FndAttributeType type,
java.lang.String name) |
protected |
FndAttribute(FndAttributeType type,
java.lang.String name,
java.lang.Object value) |
protected |
FndAttribute(java.lang.String name) |
protected |
FndAttribute(java.lang.String type,
java.lang.String name) |
protected |
FndAttribute(java.lang.String type,
java.lang.String name,
java.lang.Object value) |
Modifier and Type | Method and Description |
---|---|
void |
addInvalidValueInfo(java.lang.String info)
Marks the value of this attribute as invalid.
|
protected void |
assign(FndAttribute from)
Copy the value of an attribut to this attribute (attributes must be of the same type).
|
void |
checkFormat()
Performs the checks (upper case) indicated by the meta-data.
|
void |
checkFormat(boolean abort)
Performs the checks (upper case) indicated by the meta-data.
|
void |
checkNotModified()
Checks if the attribute value has been modified.
|
void |
checkNotModified(boolean abort)
Checks if the attribute value has been modified.
|
void |
checkNotModified(FndTranslatableText msg)
Checks if the attribute value has been modified.
|
void |
checkNotModified(FndTranslatableText msg,
boolean abort)
Checks if the attribute value has been modified.
|
void |
checkNotModified(java.lang.String msg)
Deprecated.
Use the method with a FndTranslatableText argument
|
void |
checkNotModified(java.lang.String msg,
boolean abort)
Deprecated.
Use the method with a FndTranslatableText argument
|
void |
checkRange()
Deprecated.
This method does nothing. Validation of range is implemented by database layer.
|
void |
checkRange(boolean abort)
Deprecated.
This method does nothing. Validation of range is implemented by database layer.
|
void |
checkRange(FndTranslatableText msg)
Deprecated.
This method does nothing. Validation of range is implemented by database layer.
|
void |
checkRange(FndTranslatableText msg,
boolean abort)
Deprecated.
This method does nothing. Validation of range is implemented by database layer.
|
void |
checkRange(java.lang.String msg)
Deprecated.
Use the method with a FndTranslatableText argument
|
void |
checkRange(java.lang.String smsg,
boolean abort)
Deprecated.
Use the method with a FndTranslatableText argument
|
void |
checkUpperCase()
Checks if the value is uppercase.
|
void |
checkUpperCase(boolean abort)
Checks if the value is uppercase.
|
boolean |
checkValuePresent()
Checks if the attribute has a value.
|
boolean |
checkValuePresent(boolean abort)
Checks if the attribute has a value.
|
boolean |
checkValuePresent(FndTranslatableText msg)
Checks if the attribute has a value, if not an exception is thrown with the provided message.
|
boolean |
checkValuePresent(FndTranslatableText msg,
boolean abort)
Checks if the attribute has a value.
|
boolean |
checkValuePresent(java.lang.String msg)
Deprecated.
Use the method with a FndTranslatableText argument
|
boolean |
checkValuePresent(java.lang.String msg,
boolean abort)
Deprecated.
Use the method with a FndTranslatableText argument
|
void |
clear()
Clears the contents of this attribute.
|
java.lang.Object |
clone()
Copies the attribute.
|
protected java.lang.Object |
cloneValue()
Clone the attribute value.
|
int |
compareTo(FndAttribute attr)
Compares two attributes for sorting purposes.
|
protected void |
copy(FndAttribute target,
boolean cloning)
Copy the attribute flags and value.
|
protected FndSimpleCondition |
createBetweenCondition(java.lang.Object value1,
java.lang.Object value2)
Create a "attribute between value1 and value2" condition on this attribute.
|
protected FndSimpleCondition |
createEqualCondition(java.lang.Object value)
Create a 'attribute = value" condition on this attribute.
|
protected FndSimpleCondition |
createGreaterThanCondition(java.lang.Object value)
Create a "attribute > value" condition on this attribute.
|
protected FndSimpleCondition |
createGreaterThanOrEqualCondition(java.lang.Object value)
Create a "attribute >= value" condition on this attribute.
|
protected FndSimpleCondition |
createLessThanCondition(java.lang.Object value)
Create a "attribute < value" condition on this attribute.
|
protected FndSimpleCondition |
createLessThanOrEqualCondition(java.lang.Object value)
Create a "attribute <= value" condition on this attribute.
|
protected FndSimpleCondition |
createNotEqualCondition(java.lang.Object value)
Create a "attribute <> value" condition on this attribute.
|
FndSortField |
descending()
Creates a new descending FndSortField.
|
void |
exclude()
Sets the exclude flag.
|
boolean |
exist()
Checks the exist flag.
|
protected void |
formatAttributeToXml(FndXmlSerializer s,
FndAttribute customAttr,
FndAttributeXmlFormatter customFormatter)
Formats this object into the XML stream.
|
protected void |
formatValue(FndTokenWriter stream,
boolean releaseMemory)
Format the value of the attribute to an Fnd Buffer
|
protected void |
formatValueToXml(FndXmlSerializer s)
Formats this attribute's value to the xml stream.
|
protected java.lang.String[] |
getColumns()
Returns database column names from the meta-data.
|
protected FndAttributeType[] |
getInnerTypes()
Gets inner types from the meta-data
|
java.lang.String |
getInvalidValueInfo()
Gets the invalid value info for the current value.
|
int |
getLength()
Returns the length of the attribute.
|
FndAttributeMeta |
getMeta()
Returns meta-data for this attribute.
|
java.lang.String |
getName()
Returns the name of the attribute
|
FndAbstractRecord |
getParentRecord()
Get the parent record for this attribute.
|
FndQueryResultCategory |
getResultCategory()
Get the query result category set on the attribute.
|
FndSort.Direction |
getSortDirection()
Returns FndSort.ASCENDING, which is the default sort direction for an attribute.
|
protected FndSqlType |
getSqlType()
Get SQL type for attribute.
|
java.lang.String |
getState()
Returns string representation of attribute state as indicated by various flags.
|
FndAttributeType |
getType()
Returns type of the attribute
|
boolean |
hasValue()
Check if the attribute has been given a non-null value.
|
void |
include()
Clears the exclude flag.
|
void |
include(FndQueryResultCategory category)
Sets the include category for this attribute.
|
protected java.lang.Object |
internalGetValue()
Gets the value of the attribute.
|
protected void |
internalSetValue(java.lang.Object value)
Sets the value of the attribute.
|
void |
invalidate(FndTranslatableText msg)
Marks the value of this attribute as invalid.
|
void |
invalidate(FndTranslatableText msg,
java.lang.String p1)
Marks the value of this attribute as invalid.
|
void |
invalidate(FndTranslatableText msg,
java.lang.String p1,
java.lang.String p2)
Marks the value of this attribute as invalid.
|
void |
invalidate(FndTranslatableText msg,
java.lang.String p1,
java.lang.String p2,
java.lang.String p3)
Marks the value of this attribute as invalid.
|
void |
invalidate(FndTranslatableText msg,
java.lang.String p1,
java.lang.String p2,
java.lang.String p3,
java.lang.String p4)
Marks the value of this attribute as invalid.
|
void |
invalidate(FndTranslatableText msg,
java.lang.String p1,
java.lang.String p2,
java.lang.String p3,
java.lang.String p4,
java.lang.String p5)
Marks the value of this attribute as invalid.
|
void |
invalidate(java.lang.String msg)
Deprecated.
Use the method with a FndTranslatableText argument
|
void |
invalidate(java.lang.String msg,
java.lang.String p1)
Deprecated.
Use the method with a FndTranslatableText argument
|
void |
invalidate(java.lang.String msg,
java.lang.String p1,
java.lang.String p2)
Deprecated.
Use the method with a FndTranslatableText argument
|
void |
invalidate(java.lang.String msg,
java.lang.String p1,
java.lang.String p2,
java.lang.String p3)
Deprecated.
Use the method with a FndTranslatableText argument
|
void |
invalidate(java.lang.String msg,
java.lang.String p1,
java.lang.String p2,
java.lang.String p3,
java.lang.String p4)
Deprecated.
Use the method with a FndTranslatableText argument
|
void |
invalidate(java.lang.String msg,
java.lang.String p1,
java.lang.String p2,
java.lang.String p3,
java.lang.String p4,
java.lang.String p5)
Deprecated.
Use the method with a FndTranslatableText argument
|
boolean |
isCompound()
Check if this is a compound attribute or not (array/aggregate)
|
boolean |
isDirty()
Checks the dirty flag.
|
boolean |
isExcluded()
Checks the exclude flag.
|
boolean |
isKey()
Checks if this is a key.
|
boolean |
isLong()
Check if this is a long attribute or not (CLOB/BLOB storage).
|
boolean |
isMandatory()
Check if the attribute must have a value set
|
boolean |
isNull()
Checks if the attribute has a null value.
|
boolean |
isPartOfPrimaryKey()
Check if this attribute is a part of the primary key for the parent record
|
boolean |
isQuery()
Checks the query flag
|
boolean |
isSet()
Check if attribute has been set to a value or not.
|
boolean |
isUpdateAllowed()
Check if the attribute may be updated.
|
boolean |
isVector()
Checks if this attribute is an array.
|
protected FndAttribute |
newAttribute(FndAttributeMeta meta)
Creates a new attribute of the same type using supplied meta-data.
|
protected void |
parse(FndTokenReader stream)
Parses an Fnd Buffer to get the attribute.
|
protected void |
parseBuffer(FndTokenReader stream) |
protected void |
parseDatabaseString(java.lang.String dbValue)
Parses a database string to get the attribute's value.
|
void |
parseString(java.lang.String value)
Parses a string to get the attribute's value.
|
void |
parseXmlString(java.lang.String s)
This method is specially used for supporting few non printalbe chars and should be
overridden by attributes where the string representation doesn't match
that of it's internal storage object (value).
|
protected void |
set()
Sets the set-flag.
|
void |
setDirty()
Sets the dirty flag.
|
void |
setDirty(boolean dirty)
Sets or clears the dirty flag.
|
void |
setExistent()
Sets the exist flag.
|
void |
setInvalidValueInfo(java.lang.String info)
Marks the value of this attribute as invalid.
|
void |
setMandatory(boolean mandatory)
Set (or unset) the mandatory flag on the attribute.
|
protected void |
setName(java.lang.String name)
Sets the name of the attribute
|
void |
setNonExistent()
Clears the exist flag.
|
void |
setNull()
Clears attribute value.
|
protected void |
setParentRecord(FndAbstractRecord rec) |
void |
setQuery(boolean query)
Sets or clears the query flag.
|
protected void |
setSqlValue(FndSqlData data,
int colNr)
Get value from database and set on this attribute
(must be overridden for persistent attribute types)
|
void |
setState(java.lang.String state)
Sets the attribute state.
|
protected void |
setType(FndAttributeType type)
Sets type of the attribute
|
void |
setUpdateAllowed(boolean updateable)
Set (or unset) the updateable flag on the attribute.
|
FndAttribute.Iterator |
sortFieldIterator()
Returns an iterator over one attribute (this attribute).
|
protected java.lang.String |
toDatabaseString()
Gets database string representation of the attribute's value.
|
protected FndSqlValue |
toFndSqlValue()
Return a FndSqlValue based on the value of this attribute
|
java.lang.String |
toString()
Returns string representation of the attribute's value.
|
protected void |
unset()
Un-sets the set flag.
|
void |
validate()
Performs all applicable primitive attribute checks based on meta-data
and flags about the attribute.
|
void |
validate(boolean abort)
Performs all applicable primitive attribute checks based on meta-data
and flags about the attribute.
|
protected FndAttributeMeta meta
protected java.lang.Object value
protected FndAbstractRecord rec
protected FndAttribute()
protected FndAttribute(java.lang.String name)
protected FndAttribute(java.lang.String type, java.lang.String name)
protected FndAttribute(java.lang.String type, java.lang.String name, java.lang.Object value)
protected FndAttribute(FndAttributeType type)
protected FndAttribute(FndAttributeType type, java.lang.String name)
protected FndAttribute(FndAttributeType type, java.lang.String name, java.lang.Object value)
protected FndAttribute(FndAttributeMeta meta)
protected FndAttribute(FndAttributeMeta meta, java.lang.Object value)
protected FndAttribute newAttribute(FndAttributeMeta meta)
meta
- Meta-datapublic final void setInvalidValueInfo(java.lang.String info)
info
- text that describes why the current value is invalid,
or null to clear the invalid value status for this attribute.addInvalidValueInfo(java.lang.String)
,
invalidate(java.lang.String)
,
getInvalidValueInfo()
public final void addInvalidValueInfo(java.lang.String info)
info
- text that describes why the current value is invalid.setInvalidValueInfo(java.lang.String)
,
invalidate(java.lang.String)
,
getInvalidValueInfo()
public final java.lang.String getInvalidValueInfo()
invalidate(java.lang.String)
public final void invalidate(java.lang.String msg)
msg
- text that describes why the current value is invalid.getInvalidValueInfo()
public final void invalidate(java.lang.String msg, java.lang.String p1)
msg
- text that describes why the current value is invalid.p1
- first placeholder textgetInvalidValueInfo()
public final void invalidate(java.lang.String msg, java.lang.String p1, java.lang.String p2)
msg
- text that describes why the current value is invalid.p1
- first placeholder textp2
- second placeholder textgetInvalidValueInfo()
public final void invalidate(java.lang.String msg, java.lang.String p1, java.lang.String p2, java.lang.String p3)
msg
- text that describes why the current value is invalid.p1
- first placeholder textp2
- second placeholder textp3
- third placeholder textgetInvalidValueInfo()
public final void invalidate(java.lang.String msg, java.lang.String p1, java.lang.String p2, java.lang.String p3, java.lang.String p4)
msg
- text that describes why the current value is invalid.p1
- first placeholder textp2
- second placeholder textp3
- third placeholder textp4
- fourth placeholder textgetInvalidValueInfo()
public final void invalidate(java.lang.String msg, java.lang.String p1, java.lang.String p2, java.lang.String p3, java.lang.String p4, java.lang.String p5)
msg
- text that describes why the current value is invalid.p1
- first placeholder textp2
- second placeholder textp3
- third placeholder textp4
- fourth placeholder textp5
- fifth placeholder textgetInvalidValueInfo()
public final void invalidate(FndTranslatableText msg)
msg
- text that describes why the current value is invalid.getInvalidValueInfo()
public final void invalidate(FndTranslatableText msg, java.lang.String p1)
msg
- text that describes why the current value is invalid.p1
- first placeholder textgetInvalidValueInfo()
public final void invalidate(FndTranslatableText msg, java.lang.String p1, java.lang.String p2)
msg
- text that describes why the current value is invalid.p1
- first placeholder textp2
- second placeholder textgetInvalidValueInfo()
public final void invalidate(FndTranslatableText msg, java.lang.String p1, java.lang.String p2, java.lang.String p3)
msg
- text that describes why the current value is invalid.p1
- first placeholder textp2
- second placeholder textp3
- third placeholder textgetInvalidValueInfo()
public final void invalidate(FndTranslatableText msg, java.lang.String p1, java.lang.String p2, java.lang.String p3, java.lang.String p4)
msg
- text that describes why the current value is invalid.p1
- first placeholder textp2
- second placeholder textp3
- third placeholder textp4
- fourth placeholder textgetInvalidValueInfo()
public final void invalidate(FndTranslatableText msg, java.lang.String p1, java.lang.String p2, java.lang.String p3, java.lang.String p4, java.lang.String p5)
msg
- text that describes why the current value is invalid.p1
- first placeholder textp2
- second placeholder textp3
- third placeholder textp4
- fourth placeholder textp5
- fifth placeholder textgetInvalidValueInfo()
public final boolean checkValuePresent() throws ValidationException
ValidationException
- The attribute contains no valuepublic final boolean checkValuePresent(boolean abort) throws ValidationException
abort
- true if execution should be aborted, false to store error message
as invalid attribute infoValidationException
- The attribute contains no valueinvalidate(java.lang.String)
public final boolean checkValuePresent(java.lang.String msg) throws ValidationException
msg
- Error messageValidationException
- The attribute contains no valuepublic final boolean checkValuePresent(FndTranslatableText msg) throws ValidationException
msg
- Error messageValidationException
- The attribute contains no valuepublic final boolean checkValuePresent(java.lang.String msg, boolean abort) throws ValidationException
msg
- Error messageabort
- true if execution should be aborted, false to store error message
as invalid attribute infoValidationException
- The attribute contains no valueinvalidate(java.lang.String)
public final boolean checkValuePresent(FndTranslatableText msg, boolean abort) throws ValidationException
msg
- Error messageabort
- true if execution should be aborted, false to store error message
as invalid attribute infoValidationException
- The attribute contains no valueinvalidate(java.lang.String)
public final void checkRange() throws ValidationException
ValidationException
public final void checkRange(boolean abort)
abort
- true if execution should be aborted, false to store error message
as invalid attribute infopublic final void checkRange(java.lang.String msg)
msg
- Error messagepublic final void checkRange(FndTranslatableText msg)
msg
- Error messagepublic final void checkRange(java.lang.String smsg, boolean abort)
smsg
- Error messageabort
- true if execution should be aborted, false to store error message
as invalid attribute infoinvalidate(java.lang.String)
public final void checkRange(FndTranslatableText msg, boolean abort)
msg
- Error messageabort
- true if execution should be aborted, false to store error message
as invalid attribute infopublic final void checkNotModified() throws ValidationException
ValidationException
- Attribute has been modifiedpublic final void checkNotModified(boolean abort) throws ValidationException
abort
- true if execution should be aborted, false to store error message
as invalid attribute infoValidationException
- Attribute has been modifiedinvalidate(java.lang.String)
public final void checkNotModified(java.lang.String msg) throws ValidationException
msg
- Error messageValidationException
- Attribute has been modifiedpublic final void checkNotModified(FndTranslatableText msg) throws ValidationException
msg
- Error messageValidationException
- Attribute has been modifiedpublic final void checkNotModified(java.lang.String msg, boolean abort) throws ValidationException
msg
- Error messageabort
- true if execution should be aborted, false to store error message
as invalid attribute infoValidationException
- Attribute has been modifiedinvalidate(java.lang.String)
public final void checkNotModified(FndTranslatableText msg, boolean abort) throws ValidationException
msg
- Error messageabort
- true if execution should be aborted, false to store error message
as invalid attribute infoValidationException
- Attribute has been modifiedinvalidate(java.lang.String)
public final void validate() throws ValidationException
ValidationException
- if validation failspublic final void validate(boolean abort) throws ValidationException
abort
- true if execution should be aborted, false to store error message
as invalid attribute infoValidationException
- if validation failsinvalidate(java.lang.String)
public final void checkFormat() throws ValidationException
ValidationException
- A format check failedpublic final void checkFormat(boolean abort) throws ValidationException
abort
- true if execution should be aborted, false to store error message
as invalid attribute infoValidationException
- A format check failedinvalidate(java.lang.String)
public final void checkUpperCase() throws ValidationException
ValidationException
- The value is not upper casepublic final void checkUpperCase(boolean abort) throws ValidationException
abort
- true if execution should be aborted, false to store error message
as invalid attribute infoValidationException
- The value is not upper caseinvalidate(java.lang.String)
public int getLength()
public final FndAbstractRecord getParentRecord()
protected final void setParentRecord(FndAbstractRecord rec)
protected void assign(FndAttribute from) throws SystemException
from
- Attribute to copy value from.SystemException
protected void copy(FndAttribute target, boolean cloning) throws java.lang.CloneNotSupportedException, SystemException
target
- Attribute to copy to.cloning
- true - clone value if necessary, false - never clone valuejava.lang.CloneNotSupportedException
SystemException
protected java.lang.Object cloneValue() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
- if cloning is not implementedpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- if cloning is not supportedpublic final java.lang.String getName()
protected final void setName(java.lang.String name)
name
- Namepublic final FndAttributeType getType()
protected final void setType(FndAttributeType type)
type
- Typeprotected final FndAttributeType[] getInnerTypes()
protected final java.lang.String[] getColumns()
public final java.lang.String getState()
public final void setState(java.lang.String state)
state
- String to be parsed for state flagspublic final FndAttributeMeta getMeta()
public final boolean isKey()
public final boolean isDirty()
public boolean isVector()
public final boolean exist()
setNonExistent()
public void clear()
public void setNonExistent()
exist()
,
FndAbstractRecord.setNonExistent()
public final void setExistent()
exist()
public final boolean isUpdateAllowed()
public final void setUpdateAllowed(boolean updateable)
updateable
- indicates if the attribute is updateablepublic final boolean isMandatory()
public final void setMandatory(boolean mandatory)
mandatory
- indicates if mandatory should be true or falsepublic final void setDirty()
public final void setDirty(boolean dirty)
dirty
- Value to set the dirty flag topublic final void setQuery(boolean query)
query
- Value to set the query flag topublic final boolean isQuery()
public final void exclude()
See class FndQueryResultCategory
for example of usage.
public final void include()
See class FndQueryResultCategory
for example of usage.
public final void include(FndQueryResultCategory category)
See class FndQueryResultCategory
for example of usage.
category
- any of the FndQueryResultCategory
enumeration values.public final boolean isExcluded()
public boolean isNull()
public void setNull()
protected final void internalSetValue(java.lang.Object value)
value
- Value to set the attribute toprotected final java.lang.Object internalGetValue()
public java.lang.String toString()
toString
in class java.lang.Object
protected java.lang.String toDatabaseString()
protected void formatValue(FndTokenWriter stream, boolean releaseMemory) throws ParseException
stream
- Stream to which to write the bufferreleaseMemory
- true if after formatting the attribute value should be cleared releasing the memory, false otherwiseParseException
- Attribute's value cannot be serialized into a bufferpublic void parseString(java.lang.String value) throws ParseException
value
- Value to set the attribute toParseException
- if value
cannot be parsed
(contains an illegal value).public void parseXmlString(java.lang.String s) throws ParseException
s
- Value to set the attribute toParseException
- if value
cannot be parsed
(contains an illegal value).protected void parseDatabaseString(java.lang.String dbValue) throws ParseException
dbValue
- database string valueParseException
- if the specified string contains an illegal valueprotected void parseBuffer(FndTokenReader stream) throws ParseException
ParseException
protected void parse(FndTokenReader stream) throws ParseException
stream
- Stream from which to read the bufferParseException
- Syntax error in bufferprotected void formatAttributeToXml(FndXmlSerializer s, FndAttribute customAttr, FndAttributeXmlFormatter customFormatter) throws ParseException
s
- XML serializer to which to append the attribute contentscustomAttr
- top level attribute (tested with "==" operator) which will be formatted by the custom formattercustomFormatter
- formatter that will format the custom attribute valueParseException
protected void formatValueToXml(FndXmlSerializer s) throws ParseException
s
- XML serializer to which to add the valueParseException
public int compareTo(FndAttribute attr)
attr
- the attribute to compare this object to.public boolean isCompound()
protected FndSqlValue toFndSqlValue()
protected void setSqlValue(FndSqlData data, int colNr) throws IfsException
data
- an instance of FndSqlData interface to get value fromcolNr
- column/parameter index numberIfsException
public final boolean isPartOfPrimaryKey()
protected FndSqlType getSqlType()
public boolean isLong()
true
if this is a long attributepublic final boolean isSet()
protected final void set()
protected final void unset()
public final boolean hasValue()
public final FndQueryResultCategory getResultCategory()
protected FndSimpleCondition createBetweenCondition(java.lang.Object value1, java.lang.Object value2)
value1
- First value.value2
- Second value.protected FndSimpleCondition createEqualCondition(java.lang.Object value)
value
- Value attribute should be equal to.protected FndSimpleCondition createGreaterThanCondition(java.lang.Object value)
value
- Value this attribute should be greater than.protected FndSimpleCondition createGreaterThanOrEqualCondition(java.lang.Object value)
value
- Value this attribute should be greater than or equal to.protected FndSimpleCondition createLessThanCondition(java.lang.Object value)
value
- Value this attribute should be less than.protected FndSimpleCondition createLessThanOrEqualCondition(java.lang.Object value)
value
- Value this attribute should be less than or equal to.protected FndSimpleCondition createNotEqualCondition(java.lang.Object value)
value
- Value attribute should not be equal to.public final FndAttribute.Iterator sortFieldIterator()
sortFieldIterator
in interface FndSortField
public final FndSortField descending()
FndQueryRecord
description for example of usage in a query.descending
in interface FndSortField
FndAbstractArray.sort
public final FndSort.Direction getSortDirection()
getSortDirection
in interface FndSortField
FndSort.ASCENDING