Esri Geoportal Server
1.0

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

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

public class AsnUserPart
extends Object

Represents the user fields associated with a assertion.


Constructor Summary
AsnUserPart()
          Default constructor
AsnUserPart(AsnUserPart objectToDuplicate)
          Construct by duplicating an existing object.
 
Method Summary
 void appendWritableFields(Document document)
          Appends fields to a document for indexing.
 AsnUserPart duplicate()
          Produces a deep clone of the object.
 void echo(StringBuffer sb, int depth)
          Appends property information for the component to a buffer.
 String getID()
          Gets the user id (local geoportal database id).
 String getIPAddress()
          Gets the IP address associated with the user.
 String getKey()
          Gets the user key (typically the distinguished name).
 String getName()
          Gets the username.
 void readFields(Document document)
          Reads the fields of an indexed document.
 void setID(String id)
          Sets the user id (local geoportal database id).
 void setIPAddress(String ipAddress)
          Sets the IP address associated with the user.
 void setKey(String key)
          Sets the user key (typically the distinguished name).
 void setName(String username)
          Sets the username.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsnUserPart

public AsnUserPart()
Default constructor


AsnUserPart

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

Parameters:
objectToDuplicate - the object to duplicate
Method Detail

getID

public String getID()
Gets the user id (local geoportal database id).

Returns:
the user id

setID

public void setID(String id)
Sets the user id (local geoportal database id).

Parameters:
id - the user id

getIPAddress

public String getIPAddress()
Gets the IP address associated with the user.

Returns:
the IP address

setIPAddress

public void setIPAddress(String ipAddress)
Sets the IP address associated with the user.

Parameters:
ipAddress - the IP address

getKey

public String getKey()
Gets the user key (typically the distinguished name).

Returns:
the user key

setKey

public void setKey(String key)
Sets the user key (typically the distinguished name).

Parameters:
key - the user key

getName

public String getName()
Gets the username.

Returns:
the username

setName

public void setName(String username)
Sets the username.

Parameters:
username - the username

appendWritableFields

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

Parameters:
document - the document

duplicate

public AsnUserPart duplicate()
Produces a deep clone of the object.
The duplication constructor is invoked.
return new AsnUserPart(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.