Esri Geoportal Server
1.0

com.esri.gpt.server.assertion.index
Class AsnSystemPart

java.lang.Object
  extended by com.esri.gpt.server.assertion.index.AsnSystemPart

public class AsnSystemPart
extends Object

Represents the system fields associated with a assertion.


Constructor Summary
AsnSystemPart()
          Default constructor
AsnSystemPart(AsnSystemPart objectToDuplicate)
          Construct by duplicating an existing object.
 
Method Summary
 void appendWritableFields(Document document)
          Appends fields to a document for indexing.
 AsnSystemPart duplicate()
          Produces a deep clone of the object.
 void echo(StringBuffer sb, int depth)
          Appends property information for the component to a buffer.
 String getAssertionId()
          Gets the assertion id (primary key).
 Timestamp getEditTimestamp()
          Gets the edit timestamp (last value edit).
 boolean getEnabled()
          Gets the flag indicating whether or not the assertion is enabled.
 String getResourceId()
          Gets the associated resource document uuid.
 Timestamp getTimestamp()
          Gets the timestamp.
 void readFields(Document document)
          Reads the fields of an indexed document.
 void setAssertionId(String assertionId)
          Sets the assertion id (primary key).
 void setEditTimestamp(Timestamp timestamp)
          Sets the edit timestamp (last value edit).
 void setEnabled(boolean enabled)
          Sets the flag indicating whether or not the assertion is enabled.
 void setResourceId(String resourceId)
          Sets the associated resource document id.
 void setTimestamp(Timestamp timestamp)
          Sets the timestamp.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsnSystemPart

public AsnSystemPart()
Default constructor


AsnSystemPart

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

Parameters:
objectToDuplicate - the object to duplicate
Method Detail

getAssertionId

public String getAssertionId()
Gets the assertion id (primary key).

Returns:
the assertion id

setAssertionId

public void setAssertionId(String assertionId)
Sets the assertion id (primary key).

Parameters:
assertionId - the assertion id

getEditTimestamp

public Timestamp getEditTimestamp()
Gets the edit timestamp (last value edit).

Returns:
the timestamp

setEditTimestamp

public void setEditTimestamp(Timestamp timestamp)
Sets the edit timestamp (last value edit).

Parameters:
timestamp - the timestamp

getEnabled

public boolean getEnabled()
Gets the flag indicating whether or not the assertion is enabled.

Returns:
true if enabled

setEnabled

public void setEnabled(boolean enabled)
Sets the flag indicating whether or not the assertion is enabled.

Parameters:
enabled - true if enabled

getResourceId

public String getResourceId()
Gets the associated resource document uuid.

Returns:
the resource document uuid

setResourceId

public void setResourceId(String resourceId)
Sets the associated resource document id.

Parameters:
resourceId - the resource document id

getTimestamp

public Timestamp getTimestamp()
Gets the timestamp.

Returns:
the timestamp

setTimestamp

public void setTimestamp(Timestamp timestamp)
Sets the timestamp.

Parameters:
timestamp - the timestamp

appendWritableFields

public void appendWritableFields(Document document)
Appends fields to a document for indexing.

Parameters:
document - the document

duplicate

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

Returns:
the duplicated object

echo

public void echo(StringBuffer sb,
                 int depth)
Appends property information for the component to a buffer.

Parameters:
sb - the buffer to use when appending information
depth - the depth of the parent

readFields

public void readFields(Document document)
Reads the fields of an indexed document.

Parameters:
document - the document

Esri Geoportal Server
1.0

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