public abstract class InstanceHeader extends InstanceAuditHeader
createdBy, createTime, currentStatus, statusOnDelete, type, updatedBy, updateTime, version| Constructor and Description |
|---|
InstanceHeader()
Default Constructor sets the instance to nulls.
|
InstanceHeader(InstanceHeader template)
Copy/clone constructor set the value to those supplied in the template.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Validate that an object is equal depending on their stored values.
|
String |
getGUID()
Return the unique identifier for this instance.
|
InstanceProvenanceType |
getInstanceProvenanceType()
Return the type of the provenance for this instance (UNKNOWN, LOCAL_COHORT, EXPORT_ARCHIVE, CONTENT_PACK,
DEREGISTERED_REPOSITORY, CONFIGURATION).
|
String |
getInstanceURL()
Return the URL for this instance (or null if the metadata repository does not support instance URLs).
|
String |
getMetadataCollectionId()
Return the unique identifier for the metadata collection that is the home for this instance.
|
int |
hashCode()
Return a hash code based on the values of this object.
|
void |
setGUID(String guid)
Set up the unique identifier for this instance.
|
void |
setInstanceProvenanceType(InstanceProvenanceType instanceProvenanceType)
Set up the type of the provenance for this instance (UNKNOWN, LOCAL_COHORT, EXPORT_ARCHIVE, CONTENT_PACK,
DEREGISTERED_REPOSITORY, CONFIGURATION).
|
void |
setInstanceURL(String instanceURL)
Set up the URL for this instance (or null if the metadata repository does not support instance URLs).
|
void |
setMetadataCollectionId(String metadataCollectionId)
Set up the unique identifier for the home metadata collection for this instance.
|
String |
toString()
Standard toString method.
|
getCreatedBy, getCreateTime, getStatus, getStatusOnDelete, getType, getUpdatedBy, getUpdateTime, getVersion, setCreatedBy, setCreateTime, setStatus, setStatusOnDelete, setType, setUpdatedBy, setUpdateTime, setVersionpublic InstanceHeader()
public InstanceHeader(InstanceHeader template)
template - Instance headerpublic InstanceProvenanceType getInstanceProvenanceType()
public void setInstanceProvenanceType(InstanceProvenanceType instanceProvenanceType)
instanceProvenanceType - InstanceProvenanceType enumpublic String getMetadataCollectionId()
public void setMetadataCollectionId(String metadataCollectionId)
metadataCollectionId - String unique identifier for the repositorypublic String getInstanceURL()
public void setInstanceURL(String instanceURL)
instanceURL - String URLpublic String getGUID()
public void setGUID(String guid)
guid - String unique identifierpublic String toString()
toString in class InstanceAuditHeaderpublic boolean equals(Object objectToCompare)
equals in class InstanceAuditHeaderobjectToCompare - objectpublic int hashCode()
hashCode in class InstanceAuditHeaderCopyright © 2017–2018 ODPi. All rights reserved.