Class MetadataTagTypeIdentityProjection
- java.lang.Object
-
- com.morpheusdata.model.MorpheusModel
-
- com.morpheusdata.model.projection.MetadataTagTypeIdentityProjection
-
- Direct Known Subclasses:
MetadataTagType
public class MetadataTagTypeIdentityProjection extends MorpheusModel
Provides a subset of properties from theMetadataTagType
object for doing a sync match comparison with less bandwidth usage and memory footprint. This is a DTO Projection object- See Also:
MorpheusMetadataTagTypeService
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
externalId
protected java.lang.String
name
protected java.lang.Long
refId
protected java.lang.String
refType
-
Fields inherited from class com.morpheusdata.model.MorpheusModel
config, id
-
-
Constructor Summary
Constructors Constructor Description MetadataTagTypeIdentityProjection()
MetadataTagTypeIdentityProjection(java.lang.Long id, java.lang.String externalId, java.lang.String name, java.lang.Long refId, java.lang.String refType)
The default constructor for creating a projection object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getExternalId()
Returns the current externalId on this Projectionjava.lang.Long
getId()
Gets the uniquely generated ID from the database record stored via the Morpheus appliance.java.lang.String
getName()
Returns the name of the MetadataTagType.java.lang.Long
getRefId()
java.lang.String
getRefType()
void
setExternalId(java.lang.String externalId)
Sets the externalId of the operation notification.void
setId(java.lang.Long id)
Used for setting the unique ID of the Pool Type.void
setName(java.lang.String name)
Sets the name of the MetadataTagTypen.void
setRefId(java.lang.Long refId)
void
setRefType(java.lang.String refType)
-
Methods inherited from class com.morpheusdata.model.MorpheusModel
getConfig, getConfigMap, getConfigProperty, getDirtyProperties, getDirtyPropertyValues, getProperties, isDirty, markClean, markDirty, markDirty, setConfig, setConfigMap, setConfigProperty
-
-
-
-
Constructor Detail
-
MetadataTagTypeIdentityProjection
public MetadataTagTypeIdentityProjection(java.lang.Long id, java.lang.String externalId, java.lang.String name, java.lang.Long refId, java.lang.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 Detail
-
getExternalId
public java.lang.String getExternalId()
Returns the current externalId on this Projection- Returns:
- the externalId normally matches the api id
-
setExternalId
public void setExternalId(java.lang.String externalId)
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
public java.lang.String getName()
Returns the name of the MetadataTagType.- Returns:
- the name of the MetadataTagType.
-
setName
public void setName(java.lang.String name)
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
public java.lang.Long getId()
Description copied from class:MorpheusModel
Gets the uniquely generated ID from the database record stored via the Morpheus appliance.- Overrides:
getId
in classMorpheusModel
- Returns:
- id
-
setId
public void setId(java.lang.Long id)
Description copied from class:MorpheusModel
Used for setting the unique ID of the Pool Type. This should not be directly used.- Overrides:
setId
in classMorpheusModel
- Parameters:
id
- unique identifer
-
getRefType
public java.lang.String getRefType()
-
setRefType
public void setRefType(java.lang.String refType)
-
getRefId
public java.lang.Long getRefId()
-
setRefId
public void setRefId(java.lang.Long refId)
-
-