com.novell.nidp.policy.soap.injection
Class DataElement

java.lang.Object
  extended by com.novell.nidp.policy.soap.injection.DataElement

public class DataElement
extends java.lang.Object

Contains methods for managing the data in the DataElement object. This is the object that you need to fill with values from your data source.

Since:
Novell Access Manager 3.0

Method Summary
 java.lang.String getDataTagIdentifier()
          Returns the tag identifying the data to be filled in.
 int getInjectionLocation()
          Returns the location identifier for where the data is going to be inserted.
 int getTTL()
          Gets the time, in seconds, the data is considered to be valid.
 java.lang.String getValue()
          Returns the current value of the data element.
 void setTTL(int newTimetolive)
          Sets the time, in seconds, the data is considered to be valid.
 void setValue(java.lang.String newValue)
          Sets the current value of the data element to the specified value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInjectionLocation

public int getInjectionLocation()
Returns the location identifier for where the data is going to be inserted.

Returns:
The location identifier for injecting a string.

getDataTagIdentifier

public java.lang.String getDataTagIdentifier()
Returns the tag identifying the data to be filled in.

Returns:
The identification tag for the data value.

getValue

public java.lang.String getValue()
Returns the current value of the data element.

Returns:
The current value, in string format.

setValue

public void setValue(java.lang.String newValue)
Sets the current value of the data element to the specified value.

Parameters:
newValue - The value for the data element.

getTTL

public int getTTL()
Gets the time, in seconds, the data is considered to be valid.

Returns:
The current time to live value for the data.

setTTL

public void setTTL(int newTimetolive)
Sets the time, in seconds, the data is considered to be valid.

Parameters:
newTimetolive - The number of seconds the data can be valid, or -1 for unlimited time.


Copyright © 2005-2009 Novell, Inc. All Rights Reserved.