public final class Schema extends Object
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 and Description | 
|---|
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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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() | 
public Schema(Set<ObjectClassInfo> info, Set<OperationOptionInfo> options, Map<Class<? extends APIOperation>,Set<ObjectClassInfo>> supportedObjectClassesByOperation, Map<Class<? extends APIOperation>,Set<OperationOptionInfo>> supportedOptionsByOperation)
info - supportedObjectClassesByOperation - 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 int hashCode()
hashCode in class ObjectObject.hashCode()Copyright © 2019. All rights reserved.