public class SchemaResponse extends ConnectedAssetOMASAPIResponse
| Constructor and Description |
|---|
SchemaResponse()
Default constructor
|
SchemaResponse(SchemaResponse template)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Return comparison result based on the content of the properties.
|
Schema |
getSchema()
Return the schema result.
|
int |
getSchemaAttributeCount()
Return the number of schema attributes in this schema.
|
int |
hashCode()
Return hash code for this object
|
void |
setSchema(Schema schema)
Set up the schema result.
|
void |
setSchemaAttributeCount(int schemaAttributeCount)
Set up the number of schema elements in this schema.
|
String |
toString()
JSON-style toString
|
getExceptionClassName, getExceptionErrorMessage, getExceptionProperties, getExceptionSystemAction, getExceptionUserAction, getRelatedHTTPCode, setExceptionClassName, setExceptionErrorMessage, setExceptionProperties, setExceptionSystemAction, setExceptionUserAction, setRelatedHTTPCodepublic SchemaResponse()
public SchemaResponse(SchemaResponse template)
template - object to copypublic Schema getSchema()
public void setSchema(Schema schema)
schema - response objectpublic int getSchemaAttributeCount()
public void setSchemaAttributeCount(int schemaAttributeCount)
schemaAttributeCount - intpublic String toString()
toString in class ConnectedAssetOMASAPIResponsepublic boolean equals(Object objectToCompare)
equals in class ConnectedAssetOMASAPIResponseobjectToCompare - test objectpublic int hashCode()
hashCode in class ConnectedAssetOMASAPIResponseCopyright © 2018 ODPi. All rights reserved.