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

公開メンバ関数

String getName ()
 
void setName (String name)
 
String getEndpoint ()
 
void setEndpoint (String endpoint)
 
String getDescription ()
 
void setDescription (String description)
 
String getSchema ()
 
void setSchema (String schema)
 
List< SchemaExtensionHoldergetSchemaExtensions ()
 
void setSchemaExtensions (List< SchemaExtensionHolder > schemaExtensions)
 
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
 
String endpoint
 
String schema
 
List< SchemaExtensionHolderschemaExtensions
 

詳解

This class is used to specify metadata about a resource type. It's the key class for representing the output of the /ResourceTypes endpoint. For more about this resource type see RFC 7643, section 6.

関数詳解

◆ 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

◆ 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.resourcetypes.ResourceType.getDescription ( )
inline
69  {
70  return description;
71  }

◆ getEndpoint()

String org.gluu.oxtrust.model.scim2.provider.resourcetypes.ResourceType.getEndpoint ( )
inline
61  {
62  return endpoint;
63  }

◆ 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.resourcetypes.ResourceType.getName ( )
inline
53  {
54  return name;
55  }

◆ getSchema()

String org.gluu.oxtrust.model.scim2.provider.resourcetypes.ResourceType.getSchema ( )
inline
77  {
78  return schema;
79  }

◆ getSchemaExtensions()

List<SchemaExtensionHolder> org.gluu.oxtrust.model.scim2.provider.resourcetypes.ResourceType.getSchemaExtensions ( )
inline
85  {
86  return schemaExtensions;
87  }
List< SchemaExtensionHolder > schemaExtensions
Definition: ResourceType.java:51

◆ getSchemas()

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

◆ setDescription()

void org.gluu.oxtrust.model.scim2.provider.resourcetypes.ResourceType.setDescription ( String  description)
inline
73  {
74  this.description = description;
75  }

◆ setEndpoint()

void org.gluu.oxtrust.model.scim2.provider.resourcetypes.ResourceType.setEndpoint ( String  endpoint)
inline
65  {
66  this.endpoint = endpoint;
67  }

◆ 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.resourcetypes.ResourceType.setName ( String  name)
inline
57  {
58  this.name = name;
59  }

◆ setSchema()

void org.gluu.oxtrust.model.scim2.provider.resourcetypes.ResourceType.setSchema ( String  schema)
inline
81  {
82  this.schema = schema;
83  }

◆ setSchemaExtensions()

void org.gluu.oxtrust.model.scim2.provider.resourcetypes.ResourceType.setSchemaExtensions ( List< SchemaExtensionHolder schemaExtensions)
inline
89  {
91  }
List< SchemaExtensionHolder > schemaExtensions
Definition: ResourceType.java:51

◆ 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

メンバ詳解

◆ description

String org.gluu.oxtrust.model.scim2.provider.resourcetypes.ResourceType.description
private

◆ endpoint

String org.gluu.oxtrust.model.scim2.provider.resourcetypes.ResourceType.endpoint
private

◆ name

String org.gluu.oxtrust.model.scim2.provider.resourcetypes.ResourceType.name
private

◆ schema

String org.gluu.oxtrust.model.scim2.provider.resourcetypes.ResourceType.schema
private

◆ schemaExtensions

List<SchemaExtensionHolder> org.gluu.oxtrust.model.scim2.provider.resourcetypes.ResourceType.schemaExtensions
private

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