|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.identityconnectors.framework.common.objects.Schema
public final class Schema
Determines the objects supported by a
Connector.
The Schema object is used to represent the basic objects that a
connector supports. This does not prevent a connector from supporting more.
Rather, this is informational for the caller of the connector to understand
a minimum support level.
The schema defines 4 primary data structures
getObjectClassInfo()).getOperationOptionInfo()). getSupportedObjectClassesByOperation()). getSupportedOptionsByOperation()()).
| Constructor Summary | |
|---|---|
Schema(Set<ObjectClassInfo> info,
Set<OperationOptionInfo> options,
Map<Class<? extends APIOperation>,Set<ObjectClassInfo>> supportedObjectClassesByOperation,
Map<Class<? extends APIOperation>,Set<OperationOptionInfo>> supportedOptionsByOperation)
Public only for serialization; please use SchemaBuilder instead. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
ObjectClassInfo |
findObjectClassInfo(String type)
Returns the ObjectClassInfo for the given type. |
OperationOptionInfo |
findOperationOptionInfo(String name)
Returns the OperationOptionInfo for the given name. |
Set<ObjectClassInfo> |
getObjectClassInfo()
Returns the set of object classes that are defined in the schema, regardless of which operations support them. |
Set<OperationOptionInfo> |
getOperationOptionInfo()
Returns the set of operation options that are defined in the schema, regardless of which operations support them. |
Map<Class<? extends APIOperation>,Set<ObjectClassInfo>> |
getSupportedObjectClassesByOperation()
Returns the set of object classes that apply to a particular operation. |
Set<ObjectClassInfo> |
getSupportedObjectClassesByOperation(Class<? extends APIOperation> apiop)
Returns the supported object classes for the given operation. |
Map<Class<? extends APIOperation>,Set<OperationOptionInfo>> |
getSupportedOptionsByOperation()
Returns the set of operation options that apply to a particular operation. |
Set<OperationOptionInfo> |
getSupportedOptionsByOperation(Class<? extends APIOperation> apiop)
Returns the supported options for the given operation. |
int |
hashCode()
Create a hash code from all the object info objects. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Schema(Set<ObjectClassInfo> info,
Set<OperationOptionInfo> options,
Map<Class<? extends APIOperation>,Set<ObjectClassInfo>> supportedObjectClassesByOperation,
Map<Class<? extends APIOperation>,Set<OperationOptionInfo>> supportedOptionsByOperation)
info - supportedObjectClassesByOperation - | Method Detail |
|---|
public Set<ObjectClassInfo> getObjectClassInfo()
public ObjectClassInfo findObjectClassInfo(String type)
type - The type to find.
public Set<OperationOptionInfo> getOperationOptionInfo()
public OperationOptionInfo findOperationOptionInfo(String name)
name - The name to find.
public Set<ObjectClassInfo> getSupportedObjectClassesByOperation(Class<? extends APIOperation> apiop)
apiop - The operation.
public Set<OperationOptionInfo> getSupportedOptionsByOperation(Class<? extends APIOperation> apiop)
apiop - The operation.
public Map<Class<? extends APIOperation>,Set<ObjectClassInfo>> getSupportedObjectClassesByOperation()
public Map<Class<? extends APIOperation>,Set<OperationOptionInfo>> getSupportedOptionsByOperation()
public String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class ObjectObject.hashCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||