Class EntityCreateRequest
java.lang.Object
org.odpi.openmetadata.repositoryservices.rest.properties.OMRSAPIRequest
org.odpi.openmetadata.repositoryservices.rest.properties.EntityCreateRequest
- All Implemented Interfaces:
Serializable
EntityCreateRequest carries the properties needed to create a new entity.
- See Also:
-
Constructor Summary
ConstructorDescriptionDefault constructorEntityCreateRequest
(EntityCreateRequest template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the type of the new entity.Return the list of classification for the new entity.Return the list of properties for the new entity.Return the initial status for the new entity.Return the metadata collection id for this new entityReturn the name of the metadata collection for this new relationship.int
hashCode()
Create a hash code for this element type.void
setEntityTypeGUID
(String entityTypeGUID) Set up the type of the new entity.void
setInitialClassifications
(List<Classification> initialClassifications) Set up the list of classification for the new entity.void
setInitialProperties
(InstanceProperties initialProperties) Set up the initial properties for the entity.void
setInitialStatus
(InstanceStatus initialStatus) Set up the initial status for the new entity.void
setMetadataCollectionId
(String metadataCollectionId) Set up the metadata collection id for this new entity.void
setMetadataCollectionName
(String metadataCollectionName) Set up the name of the metadata collection for this new relationship.toString()
Standard toString method.
-
Constructor Details
-
EntityCreateRequest
public EntityCreateRequest()Default constructor -
EntityCreateRequest
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getEntityTypeGUID
Return the type of the new entity.- Returns:
- String guid
-
setEntityTypeGUID
Set up the type of the new entity.- Parameters:
entityTypeGUID
- String guid
-
getInitialProperties
Return the list of properties for the new entity.- Returns:
- instance properties object
-
setInitialProperties
Set up the initial properties for the entity.- Parameters:
initialProperties
- InstanceProperties object
-
getInitialClassifications
Return the list of classification for the new entity.- Returns:
- list of classification objects
-
setInitialClassifications
Set up the list of classification for the new entity.- Parameters:
initialClassifications
- list of classification objects
-
getInitialStatus
Return the initial status for the new entity.- Returns:
- instance status enum
-
setInitialStatus
Set up the initial status for the new entity.- Parameters:
initialStatus
- instance status enum
-
getMetadataCollectionId
Return the metadata collection id for this new entity- Returns:
- guid
-
setMetadataCollectionId
Set up the metadata collection id for this new entity. This field is optional for addEntity and mandatory for addExternalEntity.- Parameters:
metadataCollectionId
- guid
-
getMetadataCollectionName
Return the name of the metadata collection for this new relationship.- Returns:
- name
-
setMetadataCollectionName
Set up the name of the metadata collection for this new relationship.- Parameters:
metadataCollectionName
- name
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Create a hash code for this element type.
-