Esri Geoportal Server
1.0

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

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

public class AsnAssertionSet
extends Object

Represents a configured assertion set (i.e. comments, ratings, ...).


Constructor Summary
AsnAssertionSet()
          Default constructor.
AsnAssertionSet(AsnAssertionSet objectToDuplicate)
          Construct by duplicating an existing object.
AsnAssertionSet(String name)
          Constructs with a supplied name.
 
Method Summary
 AsnAssertionSet duplicate()
          Produces a deep clone of the object.
 String getAssertionIdPrefix()
          Gets the URN prefix associated with subject assertion IDs.
 AsnAuthPolicy getAuthPolicy()
          Gets the authorization policy.
 AsnIndexReference getIndexReference()
          Gets the configuration reference to index associated with the operation.
 String getName()
          Gets the name associated with the set.
 String getURNPrefix()
          Gets the URN prefix for this set.
 AsnValueType getValueType()
          Gets the value type.
 Assertion newAssertion(AsnContext context, boolean forCreate)
          Instantiates a new assertion.
 void setAssertionIdPrefix(String urnPrefix)
          Sets the URN prefix associated with subject assertion IDs.
 void setAuthPolicy(AsnAuthPolicy authPolicy)
          Sets the authorization policy.
 void setIndexReference(AsnIndexReference indexReference)
          Sets the configuration reference to index associated with the operation
 void setName(String name)
          Sets the name associated with the set.
 void setURNPrefix(String urnPrefix)
          Sets the URN prefix for this set.
 void setValueType(AsnValueType valueType)
          Sets the value type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsnAssertionSet

public AsnAssertionSet()
Default constructor.


AsnAssertionSet

public AsnAssertionSet(String name)
Constructs with a supplied name.

Parameters:
name - the name associated with the set

AsnAssertionSet

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

Parameters:
objectToDuplicate - the object to duplicate
Method Detail

getAssertionIdPrefix

public String getAssertionIdPrefix()
Gets the URN prefix associated with subject assertion IDs.

Returns:
the assertion ID prefix

setAssertionIdPrefix

public void setAssertionIdPrefix(String urnPrefix)
Sets the URN prefix associated with subject assertion IDs.

Parameters:
urnPrefix - the assertion ID prefix

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

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

getName

public String getName()
Gets the name associated with the set.

Returns:
the name

setName

public void setName(String name)
Sets the name associated with the set.

Parameters:
name - the name

getURNPrefix

public String getURNPrefix()
Gets the URN prefix for this set.

Returns:
the URN prefix

setURNPrefix

public void setURNPrefix(String urnPrefix)
Sets the URN prefix for this set.

Parameters:
urnPrefix - the URN prefix

getValueType

public AsnValueType getValueType()
Gets the value type.

Returns:
the value type

setValueType

public void setValueType(AsnValueType valueType)
Sets the value type.

Parameters:
valueType - the value type

duplicate

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

Returns:
the duplicated object

newAssertion

public Assertion newAssertion(AsnContext context,
                              boolean forCreate)
Instantiates a new assertion.

Parameters:
context - the assertion operation context
forCreate - true if this assertion will be indexed as part of a "create" operation
Returns:
the new assertion

Esri Geoportal Server
1.0

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