public class Schema
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Schema.Attribute
The definition of a resource object attribute.
|
static class |
Schema.Type
An enumeration of attribute types.
|
| Constructor and Description |
|---|
Schema()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(Schema.Attribute attr)
Add one attribute definition to the schema.
|
void |
addAttribute(java.lang.String name) |
void |
addAttribute(java.lang.String name,
Schema.Type type) |
void |
addAttribute(java.lang.String name,
Schema.Type type,
boolean multi) |
void |
addAttribute(java.lang.String name,
Schema.Type type,
java.lang.Integer size) |
void |
addAttribute(java.lang.String name,
Schema.Type type,
java.lang.Integer size,
boolean multi) |
java.util.List<java.lang.String> |
getAttributeNames() |
java.util.List<Schema.Attribute> |
getAttributes() |
java.lang.String |
getGroupAttribute()
Determine which attribute in an account schema represents the "group" attribute.
|
java.lang.String |
getIdentityAttribute() |
boolean |
getIncludePermissions() |
java.lang.String |
getNativeObjectType() |
java.lang.String |
getObjectType() |
void |
setAttributes(java.util.List<Schema.Attribute> attributes)
Set the list of attributes defined in this schema.
|
void |
setIdentityAttribute(java.lang.String name)
Set the name of the attribute from the attributes list that
represents the object identity or "naming" attribute.
|
void |
setIncludePermissions(boolean includePermissions)
Set the IncludePermissions attribute of schema.
|
void |
setNativeObjectType(java.lang.String name)
Set the name of the native application object.
|
void |
setObjectType(java.lang.String type)
Set the type of object this schema describes.
|
public java.lang.String getObjectType()
public void setObjectType(java.lang.String type)
public java.lang.String getIdentityAttribute()
public void setIdentityAttribute(java.lang.String name)
public java.lang.String getNativeObjectType()
public void setNativeObjectType(java.lang.String name)
public java.util.List<Schema.Attribute> getAttributes()
public void setAttributes(java.util.List<Schema.Attribute> attributes)
public java.util.List<java.lang.String> getAttributeNames()
public boolean getIncludePermissions()
public void setIncludePermissions(boolean includePermissions)
public java.lang.String getGroupAttribute()
public void addAttribute(Schema.Attribute attr)
public void addAttribute(java.lang.String name)
public void addAttribute(java.lang.String name,
Schema.Type type)
public void addAttribute(java.lang.String name,
Schema.Type type,
boolean multi)
public void addAttribute(java.lang.String name,
Schema.Type type,
java.lang.Integer size)
public void addAttribute(java.lang.String name,
Schema.Type type,
java.lang.Integer size,
boolean multi)