public class Resource extends CommonHeader
| Constructor and Description |
|---|
Resource()
Default constructor
|
Resource(Resource template)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Return comparison result based on the content of the properties.
|
Map<String,String> |
getAdditionalProperties()
Return any additional properties associated with the element.
|
Map<String,Object> |
getExtendedProperties()
Return any properties associated with the subclass of this element.
|
String |
getQualifiedName()
Return the unique name for this element.
|
int |
hashCode()
Return hash code for this object
|
void |
setAdditionalProperties(Map<String,String> additionalProperties)
Set up any additional properties associated with the element.
|
void |
setExtendedProperties(Map<String,Object> additionalProperties)
Set up any additional properties associated with the element.
|
void |
setQualifiedName(String qualifiedName)
Set up the unique name for this element.
|
String |
toString()
JSON-style toString
|
getGUID, setGUIDgetOriginId, getOriginLicense, getOriginName, getOriginType, getTypeDescription, getTypeName, setOriginId, setOriginLicense, setOriginName, setOriginType, setTypeDescription, setTypeNamepublic Resource()
public Resource(Resource template)
public String getQualifiedName()
public void setQualifiedName(String qualifiedName)
qualifiedName - string namepublic Map<String,Object> getExtendedProperties()
public void setExtendedProperties(Map<String,Object> additionalProperties)
additionalProperties - map of property names to property valuespublic Map<String,String> getAdditionalProperties()
public void setAdditionalProperties(Map<String,String> additionalProperties)
additionalProperties - map of property names to property valuespublic String toString()
toString in class CommonHeaderpublic boolean equals(Object objectToCompare)
equals in class CommonHeaderobjectToCompare - test objectpublic int hashCode()
hashCode in class CommonHeaderCopyright © 2018–2019 ODPi. All rights reserved.