public class ServerSchemaElement extends Object
Constructor and Description |
---|
ServerSchemaElement(SchemaElement element)
Creates an element.
|
Modifier and Type | Method and Description |
---|---|
String |
getDefinitionWithFileName()
Retrieves the definition string used to create this schema element
and including the X-SCHEMA-FILE extension.
|
String |
getDescription()
Returns the description of this schema element.
|
Map<String,List<String>> |
getExtraProperties()
Returns a map of extra properties of this schema element.
|
String |
getExtraPropertyAsSingleValue(String property)
Returns the single value of the provided extra property.
|
String |
getOrigin()
Returns the origin of the provided schema element.
|
String |
getSchemaFile()
Returns the schema file of the provided schema element.
|
static AttributeType |
updateProperty(ServerContext serverContext,
AttributeType attributeType,
String property,
String... values)
Updates the property of the provided attribute type.
|
public ServerSchemaElement(SchemaElement element)
element
- The schema element to wrap.public String getDefinitionWithFileName()
public String getDescription()
public Map<String,List<String>> getExtraProperties()
public String getExtraPropertyAsSingleValue(String property)
property
- The name of property to retrieve.public String getOrigin()
public String getSchemaFile()
public static AttributeType updateProperty(ServerContext serverContext, AttributeType attributeType, String property, String... values)
serverContext
- the server contextattributeType
- attribute type to updateproperty
- the property to setvalues
- the values to setCopyright 2010-2017 ForgeRock AS.