Class ElementOrigin
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetcatalog.model.ElementOrigin
-
- All Implemented Interfaces:
Serializable
public class ElementOrigin extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ElementOrigin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
String
getInstanceLicense()
Returns the license for this instance.String
getMetadataCollectionId()
Returns the id of the metadata collection.String
getMetadataCollectionName()
Returns the name of the metadata collection.ElementOriginCategory
getOriginCategory()
Returns the origin categoryString
getSourceServer()
Returns the name of the serverint
hashCode()
void
setInstanceLicense(String instanceLicense)
Set up the license string for this instance.void
setMetadataCollectionId(String metadataCollectionId)
Set up the id of the metadata collection.void
setMetadataCollectionName(String metadataCollectionName)
Set up the name of the metadata collection.void
setOriginCategory(ElementOriginCategory originCategory)
Set up the origin category of the elementvoid
setSourceServer(String sourceServer)
Set up the name of the serverString
toString()
-
-
-
Method Detail
-
getSourceServer
public String getSourceServer()
Returns the name of the server- Returns:
- String - the name of the server
-
getMetadataCollectionId
public String getMetadataCollectionId()
Returns the id of the metadata collection.- Returns:
- String - the id of the metadata collection.
-
getMetadataCollectionName
public String getMetadataCollectionName()
Returns the name of the metadata collection.- Returns:
- String - the name of the metadata collection.
-
getInstanceLicense
public String getInstanceLicense()
Returns the license for this instance.- Returns:
- String - the license string.
-
getOriginCategory
public ElementOriginCategory getOriginCategory()
Returns the origin category- Returns:
- the value from the enum representing the origin category
-
setSourceServer
public void setSourceServer(String sourceServer)
Set up the name of the server- Parameters:
sourceServer
- - name of the server
-
setMetadataCollectionId
public void setMetadataCollectionId(String metadataCollectionId)
Set up the id of the metadata collection.- Parameters:
metadataCollectionId
- - id of the metadata collection.
-
setMetadataCollectionName
public void setMetadataCollectionName(String metadataCollectionName)
Set up the name of the metadata collection.- Parameters:
metadataCollectionName
- - name of the metadata collection.
-
setInstanceLicense
public void setInstanceLicense(String instanceLicense)
Set up the license string for this instance.- Parameters:
instanceLicense
- - the license string.
-
setOriginCategory
public void setOriginCategory(ElementOriginCategory originCategory)
Set up the origin category of the element- Parameters:
originCategory
- - the origin category value
-
canEqual
protected boolean canEqual(Object other)
-
-