|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.server.assertion.components.AsnValueType
public class AsnValueType
Represents an assertion value type.
Field Summary | |
---|---|
static String |
VALUE_TYPENAME_CONSTRAINED
Value type name = "constrained" |
static String |
VALUE_TYPENAME_FREE
Value type name = "free" |
Constructor Summary | |
---|---|
AsnValueType()
Default constructor. |
|
AsnValueType(AsnValueType objectToDuplicate)
Construct by duplicating an existing object. |
Method Summary | |
---|---|
AsnValueType |
duplicate()
Produces a deep clone of the object. |
boolean |
getAnalyzePriorToIndexing()
Gets the flag indicating whether or not the value should be analyzed prior to indexing. |
int |
getMaxCharacters()
Gets the maximum number of characters allowed for the value. |
String |
getRdfPredicate()
Gets the RDF predicate that will be indexed for this value type. |
String |
getRdfValueField()
Gets the RDF value field name within the Lucene index. |
boolean |
getRequired()
Gets the flag indicating whether or not a value is required. |
AsnSupportedValues |
getSupportedValues()
Gets the domain values supported values. |
String |
getValueFilterClass()
Gets the fully qualified class name of the value filter. |
String |
getValueTypeName()
Gets the value type name. |
AsnValueFilter |
makeValueFilter(AsnContext context)
Makes a value filter based upon the associated valueFilterClass. |
void |
setAnalyzePriorToIndexing(boolean analyze)
Sets the flag indicating whether or not the value should be analyzed prior to indexing. |
void |
setMaxCharacters(int maxCharacters)
Sets the maximum number of characters allowed for the value. |
void |
setRdfPredicate(String rdfPredicate)
Sets the RDF predicate that will be indexed for this value type. |
void |
setRdfValueField(String rdfValueField)
Sets the RDF value field name within the Lucene index. |
void |
setRequired(boolean required)
Sets the flag indicating whether or not a value is required. |
void |
setSupportedValues(AsnSupportedValues supportedValues)
Sets the domain values supported values. |
void |
setValueFilterClass(String valueFilterClass)
Sets the fully qualified class name of the value filter. |
void |
setValueTypeName(String valueTypeName)
Sets the value type name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String VALUE_TYPENAME_CONSTRAINED
public static final String VALUE_TYPENAME_FREE
Constructor Detail |
---|
public AsnValueType()
public AsnValueType(AsnValueType objectToDuplicate)
objectToDuplicate
- the object to duplicateMethod Detail |
---|
public boolean getAnalyzePriorToIndexing()
true
if the value should be analyzedpublic void setAnalyzePriorToIndexing(boolean analyze)
analyze
- true
if the value should be analyzedpublic int getMaxCharacters()
public void setMaxCharacters(int maxCharacters)
maxCharacters
- the maximum number of characters allowedpublic String getRdfPredicate()
public void setRdfPredicate(String rdfPredicate)
rdfPredicate
- the RDF predicate (Lucene field rdf.predicate)public String getRdfValueField()
public void setRdfValueField(String rdfValueField)
rdfValueField
- the RDF value field namepublic boolean getRequired()
true
if requiredpublic void setRequired(boolean required)
required
- true
if requiredpublic AsnSupportedValues getSupportedValues()
public void setSupportedValues(AsnSupportedValues supportedValues)
supportedValues
- the supported values (null if unconstrained)public String getValueFilterClass()
public void setValueFilterClass(String valueFilterClass)
valueFilterClass
- the value filter classpublic String getValueTypeName()
public void setValueTypeName(String valueTypeName)
valueTypeName
- the value type namepublic AsnValueType duplicate()
public AsnValueFilter makeValueFilter(AsnContext context) throws ClassNotFoundException, InstantiationException, IllegalAccessException
context
- the assertion operation context
ClassNotFoundException
- if the class was not found
InstantiationException
- if the class could not be instantiated
IllegalAccessException
- if the class could not be accessed
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |