gluu
公開メンバ関数 | 非公開変数類 | 静的非公開変数類 | 全メンバ一覧
org.gluu.oxtrust.ldap.cache.model.GluuSimplePerson クラス
org.gluu.oxtrust.ldap.cache.model.GluuSimplePerson の継承関係図
Inheritance graph
org.gluu.oxtrust.ldap.cache.model.GluuSimplePerson 連携図
Collaboration graph

公開メンバ関数

List< GluuCustomAttributegetCustomAttributes ()
 
void setCustomAttributes (List< GluuCustomAttribute > customAttributes)
 
String getSourceServerName ()
 
void setSourceServerName (String sourceServerName)
 
String [] getCustomObjectClasses ()
 
void setCustomObjectClasses (String[] customObjectClasses)
 
String [] getAttributes (String attributeName)
 
String getAttribute (String attributeName)
 
String getAttribute (String attributeName, String defaultValue)
 
void setAttribute (String attributeName, String attributeValue)
 
void setAttribute (String attributeName, String[] attributeValue)
 
void setAttribute (GluuCustomAttribute attribute)
 
String toString ()
 

非公開変数類

String sourceServerName
 
List< GluuCustomAttributecustomAttributes = new ArrayList<GluuCustomAttribute>()
 

静的非公開変数類

static final long serialVersionUID = -2279582184398161100L
 

詳解

Person with custom attributes

著者
Yuriy Movchan Date: 07.13.2011

関数詳解

◆ getAttribute() [1/2]

String org.gluu.oxtrust.model.CustomEntry.getAttribute ( String  attributeName)
inlineinherited
56  {
57  if (StringHelper.isEmpty(attributeName)) {
58  return null;
59  }
60 
61  String value = null;
62  for (GluuCustomAttribute attribute : getCustomAttributes()) {
63  if (StringHelper.equalsIgnoreCase(attribute.getName(), attributeName)) {
64  value = attribute.getValue();
65  break;
66  }
67  }
68  return value;
69  }
abstract List< GluuCustomAttribute > getCustomAttributes()

◆ getAttribute() [2/2]

String org.gluu.oxtrust.model.CustomEntry.getAttribute ( String  attributeName,
String  defaultValue 
)
inlineinherited
71  {
72  String result = getAttribute(attributeName);
73  if (StringHelper.isEmpty(result)) {
74  result = defaultValue;
75  }
76 
77  return result;
78  }
String getAttribute(String attributeName)
Definition: CustomEntry.java:56

◆ getAttributes()

String [] org.gluu.oxtrust.model.CustomEntry.getAttributes ( String  attributeName)
inlineinherited
41  {
42  if (StringHelper.isEmpty(attributeName)) {
43  return null;
44  }
45 
46  String[] values = null;
47  for (GluuCustomAttribute attribute : getCustomAttributes()) {
48  if (StringHelper.equalsIgnoreCase(attribute.getName(), attributeName)) {
49  values = attribute.getValues();
50  break;
51  }
52  }
53  return values;
54  }
abstract List< GluuCustomAttribute > getCustomAttributes()

◆ getCustomAttributes()

List<GluuCustomAttribute> org.gluu.oxtrust.ldap.cache.model.GluuSimplePerson.getCustomAttributes ( )
inline
33  {
34  return customAttributes;
35  }
List< GluuCustomAttribute > customAttributes
Definition: GluuSimplePerson.java:31

◆ getCustomObjectClasses()

String [] org.gluu.oxtrust.model.CustomEntry.getCustomObjectClasses ( )
inlineinherited
33  {
34  return customObjectClasses;
35  }
String [] customObjectClasses
Definition: CustomEntry.java:27

◆ getSourceServerName()

String org.gluu.oxtrust.ldap.cache.model.GluuSimplePerson.getSourceServerName ( )
inline
41  {
42  return sourceServerName;
43  }
String sourceServerName
Definition: GluuSimplePerson.java:28

◆ setAttribute() [1/3]

void org.gluu.oxtrust.model.CustomEntry.setAttribute ( String  attributeName,
String  attributeValue 
)
inlineinherited
80  {
81  setAttribute(new GluuCustomAttribute(attributeName, attributeValue));
82  }
void setAttribute(String attributeName, String attributeValue)
Definition: CustomEntry.java:80

◆ setAttribute() [2/3]

void org.gluu.oxtrust.model.CustomEntry.setAttribute ( String  attributeName,
String []  attributeValue 
)
inlineinherited
84  {
85  setAttribute(new GluuCustomAttribute(attributeName, attributeValue));
86  }
void setAttribute(String attributeName, String attributeValue)
Definition: CustomEntry.java:80

◆ setAttribute() [3/3]

void org.gluu.oxtrust.model.CustomEntry.setAttribute ( GluuCustomAttribute  attribute)
inlineinherited
88  {
89  List<GluuCustomAttribute> customAttributes = getCustomAttributes();
90  customAttributes.remove(attribute);
91  customAttributes.add(attribute);
92  }
abstract List< GluuCustomAttribute > getCustomAttributes()

◆ setCustomAttributes()

void org.gluu.oxtrust.ldap.cache.model.GluuSimplePerson.setCustomAttributes ( List< GluuCustomAttribute customAttributes)
inline
37  {
39  }
List< GluuCustomAttribute > customAttributes
Definition: GluuSimplePerson.java:31

◆ setCustomObjectClasses()

void org.gluu.oxtrust.model.CustomEntry.setCustomObjectClasses ( String []  customObjectClasses)
inlineinherited
37  {
39  }
String [] customObjectClasses
Definition: CustomEntry.java:27

◆ setSourceServerName()

void org.gluu.oxtrust.ldap.cache.model.GluuSimplePerson.setSourceServerName ( String  sourceServerName)
inline
45  {
47  }
String sourceServerName
Definition: GluuSimplePerson.java:28

◆ toString()

String org.gluu.oxtrust.model.CustomEntry.toString ( )
inlineinherited
95  {
96  return String.format("CustomEntry [customAttributes=%s, customObjectClasses=%s, toString()=%s]", getCustomAttributes(),
97  Arrays.toString(customObjectClasses), super.toString());
98  }
String [] customObjectClasses
Definition: CustomEntry.java:27
abstract List< GluuCustomAttribute > getCustomAttributes()

メンバ詳解

◆ customAttributes

List<GluuCustomAttribute> org.gluu.oxtrust.ldap.cache.model.GluuSimplePerson.customAttributes = new ArrayList<GluuCustomAttribute>()
private

◆ serialVersionUID

final long org.gluu.oxtrust.ldap.cache.model.GluuSimplePerson.serialVersionUID = -2279582184398161100L
staticprivate

◆ sourceServerName

String org.gluu.oxtrust.ldap.cache.model.GluuSimplePerson.sourceServerName
private

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