atg.svc.ui.formhandlers
Class KnowledgeQueryAttrDescription

java.lang.Object
  extended by atg.svc.ui.formhandlers.KnowledgeQueryAttrDescription

public final class KnowledgeQueryAttrDescription
extends java.lang.Object


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
protected KnowledgeQueryAttrDescription()
          Default constructor.
  KnowledgeQueryAttrDescription(java.lang.String name, KnowledgeQueryTypeEnum type)
          Constructor.
  KnowledgeQueryAttrDescription(java.lang.String name, KnowledgeQueryTypeEnum type, KnowledgeQuerySubtypeEnum subtype)
          Constructor.
 
Method Summary
 java.lang.String getName()
          Gets name of attribute.
 java.lang.String getOperation()
          Gets value of attribute's operation.
 KnowledgeQuerySubtypeEnum getSubtype()
          Gets subtype of attribute.
 KnowledgeQueryTypeEnum getType()
          Gets type of attribute.
 java.lang.Object getValue()
          Gets value of attribute's value.
 java.lang.Object getValue2()
          Gets value of attribute's value2.
 void setName(java.lang.String name)
          Sets new value of attribute's name.
 void setOperation(java.lang.String operation)
          Sets new value of attribute's operation.
 void setSubtype(KnowledgeQuerySubtypeEnum subtype)
          Sets new value of attribute's subtype.
 void setType(KnowledgeQueryTypeEnum type)
          Sets new value of attribute's type.
 void setValue(java.lang.Object value)
          Sets new value of attribute's value.
 void setValue2(java.lang.Object value2)
          Sets new value of attribute's value2.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

KnowledgeQueryAttrDescription

public KnowledgeQueryAttrDescription(java.lang.String name,
                                     KnowledgeQueryTypeEnum type)
Constructor. Creates new instance of attribute using name and type.

Parameters:
name - Name of attribute.
type - Type of attribute.

KnowledgeQueryAttrDescription

public KnowledgeQueryAttrDescription(java.lang.String name,
                                     KnowledgeQueryTypeEnum type,
                                     KnowledgeQuerySubtypeEnum subtype)
Constructor. Creates new instance of attribute using name, type and subtype.

Parameters:
name - Name of attribute.
type - Type of attribute.
subtype - Subtype of attribute.

KnowledgeQueryAttrDescription

protected KnowledgeQueryAttrDescription()
Default constructor. Disabled for use.

Method Detail

getName

public java.lang.String getName()
Gets name of attribute.

Returns:
Name of attribute.

setName

public void setName(java.lang.String name)
Sets new value of attribute's name.

Parameters:
name - New value of attribute's name.

getType

public KnowledgeQueryTypeEnum getType()
Gets type of attribute.

Returns:
Type of attribute.

setType

public void setType(KnowledgeQueryTypeEnum type)
Sets new value of attribute's type.

Parameters:
type - New value of attribute's type.

getSubtype

public KnowledgeQuerySubtypeEnum getSubtype()
Gets subtype of attribute.

Returns:
Subtype of attribute.

setSubtype

public void setSubtype(KnowledgeQuerySubtypeEnum subtype)
Sets new value of attribute's subtype.

Parameters:
subtype - New value of attribute's subtype.

getOperation

public java.lang.String getOperation()
Gets value of attribute's operation.

Returns:
Value of attribute's operation.

setOperation

public void setOperation(java.lang.String operation)
Sets new value of attribute's operation.

Parameters:
operation - New value of attribute's operation.

getValue

public java.lang.Object getValue()
Gets value of attribute's value.

Returns:
Value of attribute's value.

setValue

public void setValue(java.lang.Object value)
Sets new value of attribute's value.

Parameters:
value - New value of attribute's value.

getValue2

public java.lang.Object getValue2()
Gets value of attribute's value2.

Returns:
Value of attribute's value2.

setValue2

public void setValue2(java.lang.Object value2)
Sets new value of attribute's value2.

Parameters:
value2 - New value of attribute's value2.