gluu
公開メンバ関数 | 非公開変数類 | 全メンバ一覧
org.gluu.credmanager.core.ldap.Person クラス
org.gluu.credmanager.core.ldap.Person の継承関係図
Inheritance graph
org.gluu.credmanager.core.ldap.Person 連携図
Collaboration graph

公開メンバ関数

String getFirstGivenName ()
 
List< String > getGivenNames ()
 
String getFirstSn ()
 
List< String > getSns ()
 
List< DN > getMemberOfDNs ()
 
String getFirstOxEnrollmentCode ()
 
void setOxEnrollmentCode (final String... v)
 
String getInum ()
 
String getUid ()
 

非公開変数類

String [] givenName
 
String [] sn
 
String [] oxEnrollmentCode
 
DN [] memberOf
 

詳解

This class provides an implementation of an object that can be used to represent gluuPerson objects in the directory.

関数詳解

◆ getFirstGivenName()

String org.gluu.credmanager.core.ldap.Person.getFirstGivenName ( )
inline

Retrieves the first value for the field associated with the givenName attribute, if present.

戻り値
The first value for the field associated with the givenName attribute, or
null
if that attribute was not present in the entry or does not have any values.
44  {
45  if ((givenName == null) ||
46  (givenName.length == 0)) {
47  return null;
48  } else {
49  return givenName[0];
50  }
51  }
String [] givenName
Definition: Person.java:21

◆ getFirstOxEnrollmentCode()

String org.gluu.credmanager.core.ldap.Person.getFirstOxEnrollmentCode ( )
inline

Retrieves the first value for the field associated with the oxEnrollmentCode attribute, if present.

戻り値
The first value for the field associated with the oxEnrollmentCode attribute, or
null
if that attribute was not present in the entry or does not have any values.
106  {
107  if ((oxEnrollmentCode == null) ||
108  (oxEnrollmentCode.length == 0))
109  {
110  return null;
111  }
112  else
113  {
114  return oxEnrollmentCode[0];
115  }
116  }
String [] oxEnrollmentCode
Definition: Person.java:29

◆ getFirstSn()

String org.gluu.credmanager.core.ldap.Person.getFirstSn ( )
inline

Retrieves the first value for the field associated with the sn attribute, if present.

戻り値
The first value for the field associated with the sn attribute, or
null
if that attribute was not present in the entry or does not have any values.
76  {
77  if ((sn == null) ||
78  (sn.length == 0))
79  {
80  return null;
81  }
82  else
83  {
84  return sn[0];
85  }
86  }
String [] sn
Definition: Person.java:25

◆ getGivenNames()

List<String> org.gluu.credmanager.core.ldap.Person.getGivenNames ( )
inline

Retrieves the values for the field associated with the givenName attribute, if present.

戻り値
The values for the field associated with the givenName attribute, or
null
if that attribute was not present in the entry.
62  {
63  return Utils.listfromArray(givenName);
64  }
String [] givenName
Definition: Person.java:21

◆ getInum()

String org.gluu.credmanager.core.ldap.BaseLdapPerson.getInum ( )
inlineinherited

Retrieves the first value for the field associated with the inum attribute, if present.

戻り値
The first value for the field associated with the inum attribute, or
null
if that attribute was not present in the entry or does not have any values.
44  {
45  if ((inum == null) ||
46  (inum.length == 0))
47  {
48  return null;
49  }
50  else
51  {
52  return inum[0];
53  }
54  }
String [] inum
Definition: BaseLdapPerson.java:28

◆ getMemberOfDNs()

List<DN> org.gluu.credmanager.core.ldap.Person.getMemberOfDNs ( )
inline
92  {
93  return Utils.listfromArray(memberOf);
94  }
DN [] memberOf
Definition: Person.java:33

◆ getSns()

List<String> org.gluu.credmanager.core.ldap.Person.getSns ( )
inline
88  {
89  return Utils.listfromArray(sn);
90  }
String [] sn
Definition: Person.java:25

◆ getUid()

String org.gluu.credmanager.core.ldap.BaseLdapPerson.getUid ( )
inlineinherited

Retrieves the first value for the field associated with the uid attribute, if present.

戻り値
The first value for the field associated with the uid attribute, or
null
if that attribute was not present in the entry or does not have any values.
66  {
67  if ((uid== null) ||
68  (uid.length == 0))
69  {
70  return null;
71  }
72  else
73  {
74  return uid[0];
75  }
76  }
String [] uid
Definition: BaseLdapPerson.java:32

◆ setOxEnrollmentCode()

void org.gluu.credmanager.core.ldap.Person.setOxEnrollmentCode ( final String...  v)
inline

Sets the values for the field associated with the oxEnrollmentCode attribute.

引数
vThe values for the field associated with the oxEnrollmentCode attribute.
126  {
127  this.oxEnrollmentCode = v;
128  }
String [] oxEnrollmentCode
Definition: Person.java:29

メンバ詳解

◆ givenName

String [] org.gluu.credmanager.core.ldap.Person.givenName
private

◆ memberOf

DN [] org.gluu.credmanager.core.ldap.Person.memberOf
private

◆ oxEnrollmentCode

String [] org.gluu.credmanager.core.ldap.Person.oxEnrollmentCode
private

◆ sn

String [] org.gluu.credmanager.core.ldap.Person.sn
private

このクラス詳解は次のファイルから抽出されました: