Esri Geoportal Server
1.0

com.esri.gpt.server.assertion.components
Class AsnOperation

java.lang.Object
  extended by com.esri.gpt.server.assertion.components.AsnOperation

public class AsnOperation
extends Object

Represents an assertion operation.


Constructor Summary
AsnOperation()
          Default constructor.
AsnOperation(AsnAssertionSet assertionSet)
          Construct by duplicating components of an assertion set.
AsnOperation(AsnOperation objectToDuplicate)
          Construct by duplicating an existing object.
 
Method Summary
 AsnOperation duplicate()
          Produces a deep clone of the object.
 AsnAssertionSet getAssertionSet()
          Gets the assertion set.
 AsnAuthPolicy getAuthPolicy()
          Gets the authorization policy.
 String getHandlerClass()
          Gets the fully qualified class name of the operation handler.
 AsnIndexReference getIndexReference()
          Gets the configuration reference to index associated with the operation.
 AsnPredicate getPredicate()
          Gets the predicate.
 AsnSubject getSubject()
          Gets the subject.
 AsnSystemPart getSystemPart()
          Gets the part representing system fields associated with a assertion.
 AsnProperty getUIResources()
          Gets the UI resources.
 AsnUserPart getUserPart()
          Gets the part representing user fields associated with a assertion.
 AsnValue getValue()
          Gets the value.
 AsnOperationHandler makeHandler(AsnContext context)
          Makes an operation handler based upon the associated handlerClass.
 void setAssertionSet(AsnAssertionSet assertionSet)
          Sets the assertion set.
 void setAuthPolicy(AsnAuthPolicy authPolicy)
          Sets the authorization policy.
 void setHandlerClass(String handlerClass)
          Sets the fully qualified class name of the operation handler.
 void setIndexReference(AsnIndexReference indexReference)
          Sets the configuration reference to index associated with the operation
 void setPredicate(AsnPredicate predicate)
          Sets the predicate.
 void setSubject(AsnSubject subject)
          Sets the subject.
 void setSystemPart(AsnSystemPart systemPart)
          Sets the part representing system fields associated with a assertion.
 void setUIResources(AsnProperty uiResources)
          Sets the UI resources.
 void setUserPart(AsnUserPart userPart)
          Sets the part representing user fields associated with a assertion.
 void setValue(AsnValue value)
          Sets the value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsnOperation

public AsnOperation()
Default constructor.


AsnOperation

public AsnOperation(AsnOperation objectToDuplicate)
Construct by duplicating an existing object.

Parameters:
objectToDuplicate - the object to duplicate

AsnOperation

public AsnOperation(AsnAssertionSet assertionSet)
Construct by duplicating components of an assertion set.

Parameters:
assertionSet - the assertion set
Method Detail

getAssertionSet

public AsnAssertionSet getAssertionSet()
Gets the assertion set.

Returns:
the assertion set

setAssertionSet

public void setAssertionSet(AsnAssertionSet assertionSet)
Sets the assertion set.

Parameters:
assertionSet - the assertion set

getAuthPolicy

public AsnAuthPolicy getAuthPolicy()
Gets the authorization policy.

Returns:
the authorization policy

setAuthPolicy

public void setAuthPolicy(AsnAuthPolicy authPolicy)
Sets the authorization policy.

Parameters:
authPolicy - the authorization policy

getHandlerClass

public String getHandlerClass()
Gets the fully qualified class name of the operation handler.
(must extend AsnOperationHandler)

Returns:
the operation handler class

setHandlerClass

public void setHandlerClass(String handlerClass)
Sets the fully qualified class name of the operation handler.
(must extend AsnOperationHandler)

Parameters:
handlerClass - the operation handler class

getIndexReference

public AsnIndexReference getIndexReference()
Gets the configuration reference to index associated with the operation.

Returns:
the index configuration reference

setIndexReference

public void setIndexReference(AsnIndexReference indexReference)
Sets the configuration reference to index associated with the operation

Parameters:
indexReference - the index configuration reference

getPredicate

public AsnPredicate getPredicate()
Gets the predicate.

Returns:
the predicate

setPredicate

public void setPredicate(AsnPredicate predicate)
Sets the predicate.

Parameters:
predicate - the predicate

getSubject

public AsnSubject getSubject()
Gets the subject.

Returns:
the subject

setSubject

public void setSubject(AsnSubject subject)
Sets the subject.

Parameters:
subject - the subject

getSystemPart

public AsnSystemPart getSystemPart()
Gets the part representing system fields associated with a assertion.

Returns:
the system part

setSystemPart

public void setSystemPart(AsnSystemPart systemPart)
Sets the part representing system fields associated with a assertion.

Parameters:
systemPart - the system part

getUIResources

public AsnProperty getUIResources()
Gets the UI resources.

Returns:
the UI resources

setUIResources

public void setUIResources(AsnProperty uiResources)
Sets the UI resources.

Parameters:
uiResources - the UI resources

getUserPart

public AsnUserPart getUserPart()
Gets the part representing user fields associated with a assertion.

Returns:
the user part

setUserPart

public void setUserPart(AsnUserPart userPart)
Sets the part representing user fields associated with a assertion.

Parameters:
userPart - the user part

getValue

public AsnValue getValue()
Gets the value.

Returns:
the value

setValue

public void setValue(AsnValue value)
Sets the value.

Parameters:
value - the value

duplicate

public AsnOperation duplicate()
Produces a deep clone of the object.
The duplication constructor is invoked.
return new AsnOperation(this);

Returns:
the duplicated object

makeHandler

public AsnOperationHandler makeHandler(AsnContext context)
                                throws ClassNotFoundException,
                                       InstantiationException,
                                       IllegalAccessException
Makes an operation handler based upon the associated handlerClass.

Parameters:
context - the assertion operation context
Returns:
the operation handler
Throws:
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

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.