atg.svc.repository.beans
Class FieldDefinitionIndexing

java.lang.Object
  extended by atg.svc.repository.beans.FieldDefinitionIndexing
All Implemented Interfaces:
java.io.Serializable

public class FieldDefinitionIndexing
extends java.lang.Object
implements java.io.Serializable

This class holds the value of the TransactionalFragmentFieldDefinition.indexing property. That property is an "enumerated" type, meaning that it has a predefined set of allowed values. Each of those values has an associated String "tag", but the values themselves are instances of this class. The instances can be retrieved by calling the getter method corresonding to the desired value. Each value is a singleton, meaning that "==" and "equals" will have the same result when testing for equlity. The following describes which getter should be used to obtain a value representing a particular tag:

TagGetter
NonegetNone()
SearchablegetSearchable()
ConstrainablegetConstrainable()
BothgetBoth()

See Also:
Serialized Form

Constructor Summary
FieldDefinitionIndexing()
           
FieldDefinitionIndexing(java.lang.String pTag, java.lang.Object pValue)
           
 
Method Summary
static FieldDefinitionIndexing getBoth()
          Returns the instance representing the String value "Both"
static FieldDefinitionIndexing getConstrainable()
          Returns the instance representing the String value "Constrainable"
static FieldDefinitionIndexing getNone()
          Returns the instance representing the String value "None"
static FieldDefinitionIndexing getSearchable()
          Returns the instance representing the String value "Searchable"
 java.lang.String toString()
          Returns the String value represented by this instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FieldDefinitionIndexing

public FieldDefinitionIndexing(java.lang.String pTag,
                               java.lang.Object pValue)

FieldDefinitionIndexing

public FieldDefinitionIndexing()
Method Detail

getNone

public static FieldDefinitionIndexing getNone()

Returns the instance representing the String value "None"


getSearchable

public static FieldDefinitionIndexing getSearchable()

Returns the instance representing the String value "Searchable"


getConstrainable

public static FieldDefinitionIndexing getConstrainable()

Returns the instance representing the String value "Constrainable"


getBoth

public static FieldDefinitionIndexing getBoth()

Returns the instance representing the String value "Both"


toString

public java.lang.String toString()

Returns the String value represented by this instance

Overrides:
toString in class java.lang.Object