Class MetadataTagTypeIdentityProjection
java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.projection.MorpheusIdentityModel
com.morpheusdata.model.projection.MetadataTagTypeIdentityProjection
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MetadataTagType
Provides a subset of properties from the
MetadataTagType object for doing a sync match
comparison with less bandwidth usage and memory footprint. This is a DTO Projection object-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Longprotected StringFields inherited from class com.morpheusdata.model.MorpheusModel
config, id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the current externalId on this ProjectiongetId()Gets the uniquely generated ID from the database record stored via the Morpheus appliance.getName()Returns the name of the MetadataTagType.getRefId()voidsetExternalId(String externalId) Sets the externalId of the operation notification.voidUsed for setting the unique ID of the Pool Type.voidSets the name of the MetadataTagTypen.voidvoidsetRefType(String refType) Methods inherited from class com.morpheusdata.model.projection.MorpheusIdentityModel
getIdentityPropertiesMethods inherited from class com.morpheusdata.model.MorpheusModel
getConfig, getConfigMap, getConfigProperty, getDirtyProperties, getDirtyPropertyValues, getProperties, isDirty, markClean, markDirty, markDirty, setConfig, setConfigMap, setConfigProperty
-
Field Details
-
externalId
-
refType
-
refId
-
name
-
-
Constructor Details
-
MetadataTagTypeIdentityProjection
public MetadataTagTypeIdentityProjection(Long id, String externalId, String name, Long refId, String refType) The default constructor for creating a projection object.- Parameters:
id- the database id of the objectexternalId- the API id of the objectname- the Name of the object as a secondary comparisonrefId- the id of the object of type refType. Typically the id of the Cloud for Cloud related tagsrefType- the type of the object referenced. Typically 'ComputeZone' for Cloud related tags
-
MetadataTagTypeIdentityProjection
public MetadataTagTypeIdentityProjection()
-
-
Method Details
-
getExternalId
Returns the current externalId on this Projection- Returns:
- the externalId normally matches the api id
-
setExternalId
Sets the externalId of the operation notification. In this class this should not be called directly- Parameters:
externalId- the external API Id of the Zone
-
getName
Returns the name of the MetadataTagType.- Returns:
- the name of the MetadataTagType.
-
setName
Sets the name of the MetadataTagTypen. In this class this should not be called directly- Parameters:
name- the name to set on the object
-
getId
Description copied from class:MorpheusModelGets the uniquely generated ID from the database record stored via the Morpheus appliance.- Overrides:
getIdin classMorpheusModel- Returns:
- id
-
setId
Description copied from class:MorpheusModelUsed for setting the unique ID of the Pool Type. This should not be directly used.- Overrides:
setIdin classMorpheusModel- Parameters:
id- unique identifer
-
getRefType
-
setRefType
-
getRefId
-
setRefId
-