Package com.caplin.server.auth
Class RTTPObject
java.lang.Object
com.caplin.server.auth.RTTPObject
A representation of an RTTP Object that is present in the Liberator.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
Get the object's nameint
getType()
Get the RTTP type of this objectgetValue
(int fieldNumber) Get the current value for the specified object and field number.Get the current value for the specified object and field name.int
hashCode()
void
setPayload
(Object payload) toString()
-
Constructor Details
-
RTTPObject
-
-
Method Details
-
getName
Get the object's name- Returns:
- the object name
-
getType
public int getType()Get the RTTP type of this object- Returns:
- the rttp type of this object
-
getValue
Get the current value for the specified object and field number.
This is useful during a call to
Authenticator#checkRead
, so you can find the value of a particular field for content-based permissioning.- Parameters:
fieldNumber
- the field number for which to obtain the value- Returns:
- the current value of the specified field for this object
-
getValue
Get the current value for the specified object and field name.
This is useful during a call to
Authenticator#checkRead
, so you can find the value of a particular field for content-based permissioning.- Parameters:
fieldName
- the field name for which to obtain the value- Returns:
- the current value of the specified field for this object
-
getPayload
-
setPayload
-
hashCode
public int hashCode() -
equals
-
toString
-