gluu
公開メンバ関数 | 非公開変数類 | 全メンバ一覧
org.gluu.oxtrust.model.scim2.provider.schema.SchemaResource クラス
org.gluu.oxtrust.model.scim2.provider.schema.SchemaResource の継承関係図
Inheritance graph
org.gluu.oxtrust.model.scim2.provider.schema.SchemaResource 連携図
Collaboration graph

公開メンバ関数

String getName ()
 
void setName (String name)
 
String getDescription ()
 
void setDescription (String description)
 
List< SchemaAttributegetAttributes ()
 
void setAttributes (List< SchemaAttribute > attributes)
 
void addCustomAttributes (String uri, Map< String, Object > map)
 
void addCustomAttributes (CustomAttributes customAttributes)
 
Map< String, Object > getCustomAttributes ()
 
CustomAttributes getCustomAttributes (String uri)
 
String getId ()
 
void setId (String id)
 
String getExternalId ()
 
void setExternalId (String externalId)
 
Meta getMeta ()
 
void setMeta (Meta meta)
 
Set< String > getSchemas ()
 
void setSchemas (Set< String > schemas)
 

非公開変数類

String name
 
String description
 
List< SchemaAttributeattributes
 

詳解

A class used to represent a schema (that a given SCIM resource type adheres to). Unlike other core resources, this one contains complex objects within a sub-attribute. See section 7 of RFC 7643.

関数詳解

◆ addCustomAttributes() [1/2]

void org.gluu.oxtrust.model.scim2.BaseScimResource.addCustomAttributes ( String  uri,
Map< String, Object >  map 
)
inlineinherited

Replaces the custom attributes belonging to the resource extension identified by the uri passed as parameter with the attribute/value pairs supplied in the Map. Developers are highly encouraged not to use this method but addCustomAttributes(CustomAttributes) instead which adds type-safety.

Note that this method does not apply any sort of validation. Whether the uri and attributes are recognized or the values are consistent with data types registered in Gluu Server, is something that is performed only when the resource is passed in a service method invocation.

引数
uriA string with URI that identifies an extension
mapA Map holding attribute names (Strings) and values (Objects).
79  {
80  //This is a workaround to support incoming malformed custom attributes sent by SCIM-Client version 3.1.2 and earlier
82  extendedAttrs.put(uri, map);
83  }
Map< String, Object > reshapeMalformedCustAttrs(Map< String, Object > map)
Definition: BaseScimResource.java:163
Map< String, Object > extendedAttrs
Definition: BaseScimResource.java:66

◆ addCustomAttributes() [2/2]

void org.gluu.oxtrust.model.scim2.BaseScimResource.addCustomAttributes ( CustomAttributes  customAttributes)
inlineinherited

Adds the custom attributes contained in the CustomAttributes instance passed to this method. All previously added attributes are replaced if they are linked to the same uri that customAttributes parameter is associated to.

Note that this method does not apply any sort of validation. Whether the uri and attributes are recognized or the values are consistent with data types registered in Gluu Server, is something that is performed only when the resource is passed in a service method invocation.

引数
customAttributesAn object that comprised of attribute/value pairs
94  {
95  addCustomAttributes(customAttributes.getUri(), customAttributes.getAttributeMap());
96  }
void addCustomAttributes(String uri, Map< String, Object > map)
Definition: BaseScimResource.java:79

◆ getAttributes()

List<SchemaAttribute> org.gluu.oxtrust.model.scim2.provider.schema.SchemaResource.getAttributes ( )
inline
56  {
57  return attributes;
58  }
List< SchemaAttribute > attributes
Definition: SchemaResource.java:38

◆ getCustomAttributes() [1/2]

Map<String, Object> org.gluu.oxtrust.model.scim2.BaseScimResource.getCustomAttributes ( )
inlineinherited

Retrieves all custom attributes found in this resource object. The attributes are structured hierarchically in a Map where they can be looked up using the uri to which the attributes belong to.

Developers are highly encouraged not to use this method but getCustomAttributes(String) instead which adds type-safety.

戻り値
A Map with all custom attributes
106  {
107  return extendedAttrs;
108  }
Map< String, Object > extendedAttrs
Definition: BaseScimResource.java:66

◆ getCustomAttributes() [2/2]

CustomAttributes org.gluu.oxtrust.model.scim2.BaseScimResource.getCustomAttributes ( String  uri)
inlineinherited

Retrieves the custom attributes found in this resource object associated to the uri supplied.

引数
uriA String value representing a URI
戻り値
A CustomAttributes instance that allows developers to inspect attributes and values in a type-safe manner.
115  {
116  if (extendedAttrs.get(uri)==null)
117  return null;
118  return new CustomAttributes(uri, IntrospectUtil.strObjMap(extendedAttrs.get(uri)));
119  }
Map< String, Object > extendedAttrs
Definition: BaseScimResource.java:66

◆ getDescription()

String org.gluu.oxtrust.model.scim2.provider.schema.SchemaResource.getDescription ( )
inline
48  {
49  return description;
50  }
String description
Definition: SchemaResource.java:31

◆ getExternalId()

String org.gluu.oxtrust.model.scim2.BaseScimResource.getExternalId ( )
inlineinherited
139  {
140  return externalId;
141  }
String externalId
Definition: BaseScimResource.java:59

◆ getId()

String org.gluu.oxtrust.model.scim2.BaseScimResource.getId ( )
inlineinherited
131  {
132  return id;
133  }
String id
Definition: BaseScimResource.java:54

◆ getMeta()

Meta org.gluu.oxtrust.model.scim2.BaseScimResource.getMeta ( )
inlineinherited
147  {
148  return meta;
149  }
Meta meta
Definition: BaseScimResource.java:64

◆ getName()

String org.gluu.oxtrust.model.scim2.provider.schema.SchemaResource.getName ( )
inline
40  {
41  return name;
42  }
String name
Definition: SchemaResource.java:27

◆ getSchemas()

Set<String> org.gluu.oxtrust.model.scim2.BaseScimResource.getSchemas ( )
inlineinherited
155  {
156  return schemas;
157  }
Set< String > schemas
Definition: BaseScimResource.java:44

◆ setAttributes()

void org.gluu.oxtrust.model.scim2.provider.schema.SchemaResource.setAttributes ( List< SchemaAttribute attributes)
inline
60  {
61  this.attributes = attributes;
62  }
List< SchemaAttribute > attributes
Definition: SchemaResource.java:38

◆ setDescription()

void org.gluu.oxtrust.model.scim2.provider.schema.SchemaResource.setDescription ( String  description)
inline
52  {
53  this.description = description;
54  }
String description
Definition: SchemaResource.java:31

◆ setExternalId()

void org.gluu.oxtrust.model.scim2.BaseScimResource.setExternalId ( String  externalId)
inlineinherited
143  {
144  this.externalId = externalId;
145  }
String externalId
Definition: BaseScimResource.java:59

◆ setId()

void org.gluu.oxtrust.model.scim2.BaseScimResource.setId ( String  id)
inlineinherited
135  {
136  this.id = id;
137  }
String id
Definition: BaseScimResource.java:54

◆ setMeta()

void org.gluu.oxtrust.model.scim2.BaseScimResource.setMeta ( Meta  meta)
inlineinherited
151  {
152  this.meta = meta;
153  }
Meta meta
Definition: BaseScimResource.java:64

◆ setName()

void org.gluu.oxtrust.model.scim2.provider.schema.SchemaResource.setName ( String  name)
inline
44  {
45  this.name = name;
46  }
String name
Definition: SchemaResource.java:27

◆ setSchemas()

void org.gluu.oxtrust.model.scim2.BaseScimResource.setSchemas ( Set< String >  schemas)
inlineinherited
159  {
160  this.schemas = schemas;
161  }
Set< String > schemas
Definition: BaseScimResource.java:44

メンバ詳解

◆ attributes

List<SchemaAttribute> org.gluu.oxtrust.model.scim2.provider.schema.SchemaResource.attributes
private

◆ description

String org.gluu.oxtrust.model.scim2.provider.schema.SchemaResource.description
private

◆ name

String org.gluu.oxtrust.model.scim2.provider.schema.SchemaResource.name
private

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