public class ElementOrigin extends Object implements Serializable
| Constructor and Description |
|---|
ElementOrigin()
Default constructor
|
ElementOrigin(ElementOrigin templateType)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
String |
getHomeMetadataCollectionId()
Returns the OMRS identifier for the metadata collection that is managed by the repository
where the element originates (its home repository).
|
String |
getHomeMetadataCollectionName()
Return the name of the metadata collection that this asset belongs to.
|
String |
getLicense()
Return the license associated with this metadata element (null means none).
|
ElementOriginCategory |
getOriginCategory()
Return the origin of the metadata element.
|
String |
getSourceServer()
Return the name of the server where the element was retrieved from.
|
int |
hashCode()
Create a hash code for this element type.
|
void |
setHomeMetadataCollectionId(String homeMetadataCollectionId)
Set up the unique identifier for the metadata collection that is managed by the repository
where the element originates (its home repository).
|
void |
setHomeMetadataCollectionName(String homeMetadataCollectionName)
Set up the name of the metadata collection that this asset belongs to.
|
void |
setLicense(String license)
Set up the license associated with this metadata element (null means none)
|
void |
setOriginCategory(ElementOriginCategory originCategory)
Set up the details of this element's origin.
|
void |
setSourceServer(String sourceServer)
Set up the name of the server where the element was retrieved from.
|
String |
toString()
Standard toString method.
|
public ElementOrigin()
public ElementOrigin(ElementOrigin templateType)
templateType - type to clonepublic void setSourceServer(String sourceServer)
sourceServer - URL of the serverpublic String getSourceServer()
public void setOriginCategory(ElementOriginCategory originCategory)
originCategory - see ElementOriginCategory enumpublic ElementOriginCategory getOriginCategory()
public String getHomeMetadataCollectionId()
public void setHomeMetadataCollectionId(String homeMetadataCollectionId)
homeMetadataCollectionId - String unique identifier for the home metadata repositorypublic String getHomeMetadataCollectionName()
public void setHomeMetadataCollectionName(String homeMetadataCollectionName)
homeMetadataCollectionName - name stringpublic String getLicense()
public void setLicense(String license)
license - string license namepublic String toString()
public boolean equals(Object objectToCompare)
Copyright © 2018–2020 ODPi. All rights reserved.