|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
org.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()()).TODO: add more to describe and what is expected from this call and how it is used.. based on OperationalAttribute etc..
| Constructor Summary | |
|---|---|
Schema(java.util.Set<ObjectClassInfo> info, java.util.Set<OperationOptionInfo> options, java.util.Map<java.lang.Class<? extends APIOperation>,java.util.Set<ObjectClassInfo>> supportedObjectClassesByOperation, java.util.Map<java.lang.Class<? extends APIOperation>,java.util.Set<OperationOptionInfo>> supportedOptionsByOperation)Public only for serialization; please use SchemaBuilder instead. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj) |
ObjectClassInfo |
findObjectClassInfo(java.lang.String type)Returns the ObjectClassInfo for the given type. |
OperationOptionInfo |
findOperationOptionInfo(java.lang.String name)Returns the OperationOptionInfo for the given name. |
java.util.Set<ObjectClassInfo> |
getObjectClassInfo()Returns the set of object classes that are defined in the schema, regardless of which operations support them. |
java.util.Set<OperationOptionInfo> |
getOperationOptionInfo()Returns the set of operation options that are defined in the schema, regardless of which operations support them. |
java.util.Map<java.lang.Class<? extends APIOperation>,java.util.Set<ObjectClassInfo>> |
getSupportedObjectClassesByOperation()Returns the set of object classes that apply to a particular operation. |
java.util.Set<ObjectClassInfo> |
getSupportedObjectClassesByOperation(java.lang.Class<? extends APIOperation> apiop)Returns the supported object classes for the given operation. |
java.util.Map<java.lang.Class<? extends APIOperation>,java.util.Set<OperationOptionInfo>> |
getSupportedOptionsByOperation()Returns the set of operation options that apply to a particular operation. |
java.util.Set<OperationOptionInfo> |
getSupportedOptionsByOperation(java.lang.Class<? extends APIOperation> apiop)Returns the supported options for the given operation. |
int |
hashCode()Create a hash code from all the object info objects. |
java.lang.String |
toString() |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Schema(java.util.Set<ObjectClassInfo> info,
java.util.Set<OperationOptionInfo> options,
java.util.Map<java.lang.Class<? extends APIOperation>,java.util.Set<ObjectClassInfo>> supportedObjectClassesByOperation,
java.util.Map<java.lang.Class<? extends APIOperation>,java.util.Set<OperationOptionInfo>> supportedOptionsByOperation)
info -supportedObjectClassesByOperation -| Method Detail |
|---|
public java.util.Set<ObjectClassInfo> getObjectClassInfo()
public ObjectClassInfo findObjectClassInfo(java.lang.String type)
type - The type to find.public java.util.Set<OperationOptionInfo> getOperationOptionInfo()
public OperationOptionInfo findOperationOptionInfo(java.lang.String name)
name - The name to find.public java.util.Set<ObjectClassInfo> getSupportedObjectClassesByOperation(java.lang.Class<? extends APIOperation> apiop)
apiop - The operation.public java.util.Set<OperationOptionInfo> getSupportedOptionsByOperation(java.lang.Class<? extends APIOperation> apiop)
apiop - The operation.public java.util.Map<java.lang.Class<? extends APIOperation>,java.util.Set<ObjectClassInfo>> getSupportedObjectClassesByOperation()
public java.util.Map<java.lang.Class<? extends APIOperation>,java.util.Set<OperationOptionInfo>> getSupportedOptionsByOperation()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||