Skip to main content

com.eruces.teadmin.XAuthPrincipalInfo

Inheritance

Public Member Functions

MemberDescription
XAuthPrincipalInfo()The XAuthPrincipalInfo constructor is the default class constructor.
XAuthPrincipalInfo(long pid)The XAuthPrincipalInfo constructor specifies a principal ID.
XAuthPrincipalInfo(int sid, long pid)The PrincipalInfo constructor specifies a system ID and a principal ID.
String getPrincipalName()The getPrincipalName method returns XAuth principal name as principal name.
String getUid()The getUid method returns XAuth principal id.
void setUid(String uid)The setName method sets a XAuth principal id.
String getMetaInfo()The getMeta method returns XAuth principal meta information.
void setMetaInfo(String meta)The setName method sets a XAuth principal meta information.
boolean equals(Object anotherInfo)The equals method compares two principals.
String toString()The toString method converts XAuth object data to a string.

Member Function Documentation

XAuthPrincipalInfo()

The XAuthPrincipalInfo constructor is the default class constructor.

XAuthPrincipalInfo(long pid)

The XAuthPrincipalInfo constructor specifies a principal ID.

Parameters

ParameterDescription
pidAn integer representing a principal ID. type:long

XAuthPrincipalInfo(int sid, long pid)

The PrincipalInfo constructor specifies a system ID and a principal ID.

Parameters

ParameterDescription
sidAn integer representing a system ID. type:integer
pidAn integer representing a principal ID. type:long

String getPrincipalName()

The getPrincipalName method returns XAuth principal name as principal name.

Returns: Returns a string representing a principal name.

String getUid()

The getUid method returns XAuth principal id.

Returns: A string of user name.

void setUid(String uid)

The setName method sets a XAuth principal id.

Parameters

ParameterDescription
uidAn integer representing a principal ID.

String getMetaInfo()

The getMeta method returns XAuth principal meta information.

Returns: A string of user meta information.

void setMetaInfo(String meta)

The setName method sets a XAuth principal meta information.

Parameters

ParameterDescription
uidAn integer representing a principal meta information.

boolean equals(Object anotherInfo)

The equals method compares two principals.

Two XAuthPrincipalInfo principals are the same if their user names or principal IDs are the same

Parameters

ParameterDescription
anotherInfoA PrincipalInfo object to which the current PrincipalInfo object will be compared.

Returns: Returns a boolean value indicating whether the two principals are the same; True = principals are the same, False = principals are different.

String toString()

The toString method converts XAuth object data to a string.

Returns: Returns a string representing XAuthPrincipalInfo object data.

Remark: Overrides the toString method in the com.eruces.teadmin.UpdatableObject class.