wt.query.specification
Class DefaultSortRule

java.lang.Object
  extended bywt.query.specification.DefaultSortRule
All Implemented Interfaces:
AttributeSortRule, Serializable

public class DefaultSortRule
extends Object
implements AttributeSortRule, Serializable



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private  boolean ascending
           
private  AttributeIdentifier attribute
           
private  boolean caseSensitive
           
private static String CLASSNAME
           
private static String RESOURCE
           
 
Fields inherited from interface wt.query.specification.AttributeSortRule
ASCENDING, ATTRIBUTE, CASE_SENSITIVE
 
Constructor Summary
DefaultSortRule(AttributeIdentifier an_attribute)
          

Supported API: false
DefaultSortRule(AttributeIdentifier an_attribute, boolean ascending_order)
          

Supported API: false
DefaultSortRule(AttributeIdentifier an_attribute, boolean ascending_order, boolean case_sensitive)
          

Supported API: false
 
Method Summary
private  void attributeValidate(AttributeIdentifier a_Attribute)
           
 AttributeIdentifier getAttribute()
          Gets the object for the association that plays role: attribute.
 boolean isAscending()
          Gets the value of the attribute: ascending.
 boolean isCaseSensitive()
          Gets the value of the attribute: caseSensitive.
 void setAscending(boolean a_Ascending)
          Sets the value of the attribute: ascending.
 void setAttribute(AttributeIdentifier a_Attribute)
          Sets the object for the association that plays role: attribute.
 void setCaseSensitive(boolean a_CaseSensitive)
          Sets the value of the attribute: caseSensitive.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

ascending

private boolean ascending

caseSensitive

private boolean caseSensitive

attribute

private AttributeIdentifier attribute
Constructor Detail

DefaultSortRule

public DefaultSortRule(AttributeIdentifier an_attribute)


Supported API: false

Parameters:
an_attribute -

DefaultSortRule

public DefaultSortRule(AttributeIdentifier an_attribute,
                       boolean ascending_order)


Supported API: false

Parameters:
an_attribute -
ascending_order -

DefaultSortRule

public DefaultSortRule(AttributeIdentifier an_attribute,
                       boolean ascending_order,
                       boolean case_sensitive)


Supported API: false

Parameters:
an_attribute -
ascending_order -
case_sensitive -
Method Detail

isAscending

public boolean isAscending()
Gets the value of the attribute: ascending.

Supported API: false

Specified by:
isAscending in interface AttributeSortRule
Returns:
boolean

setAscending

public void setAscending(boolean a_Ascending)
                  throws WTPropertyVetoException
Sets the value of the attribute: ascending.

Supported API: false

Specified by:
setAscending in interface AttributeSortRule
Parameters:
a_Ascending -
Throws:
WTPropertyVetoException

isCaseSensitive

public boolean isCaseSensitive()
Gets the value of the attribute: caseSensitive.

Supported API: false

Specified by:
isCaseSensitive in interface AttributeSortRule
Returns:
boolean

setCaseSensitive

public void setCaseSensitive(boolean a_CaseSensitive)
                      throws WTPropertyVetoException
Sets the value of the attribute: caseSensitive.

Supported API: false

Specified by:
setCaseSensitive in interface AttributeSortRule
Parameters:
a_CaseSensitive -
Throws:
WTPropertyVetoException

getAttribute

public AttributeIdentifier getAttribute()
Gets the object for the association that plays role: attribute.

Supported API: false

Specified by:
getAttribute in interface AttributeSortRule
Returns:
AttributeIdentifier

setAttribute

public void setAttribute(AttributeIdentifier a_Attribute)
                  throws WTPropertyVetoException
Sets the object for the association that plays role: attribute.

Supported API: false

Specified by:
setAttribute in interface AttributeSortRule
Parameters:
a_Attribute -
Throws:
WTPropertyVetoException

attributeValidate

private void attributeValidate(AttributeIdentifier a_Attribute)
                        throws WTPropertyVetoException
Parameters:
a_Attribute -
Throws:
WTPropertyVetoException