Class BackupTypeIdentityProjection
- java.lang.Object
-
- com.morpheusdata.model.MorpheusModel
-
- com.morpheusdata.model.projection.BackupTypeIdentityProjection
-
public class BackupTypeIdentityProjection extends MorpheusModel
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
code
protected java.lang.String
name
-
Fields inherited from class com.morpheusdata.model.MorpheusModel
config, id
-
-
Constructor Summary
Constructors Constructor Description BackupTypeIdentityProjection()
BackupTypeIdentityProjection(java.lang.Long id, java.lang.String name, java.lang.String code)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCode()
TheBackupType.getCode()
is mapped here in the identity projection for quick filter search.java.lang.String
getName()
Gets the name of the backup.void
setName(java.lang.String name)
Sets the name of the Backup.-
Methods inherited from class com.morpheusdata.model.MorpheusModel
getConfig, getConfigMap, getConfigProperty, getDirtyProperties, getDirtyPropertyValues, getId, getProperties, isDirty, markClean, markDirty, markDirty, setConfig, setConfigMap, setConfigProperty, setId
-
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Gets the name of the backup. This is on the identity projection in case a fallback match needs to happen by name- Returns:
- the current name of the backup
-
setName
public void setName(java.lang.String name)
Sets the name of the Backup. Typically this isnt called directly.- Parameters:
name
- the name of the backup to be assigned.
-
getCode
public java.lang.String getCode()
TheBackupType.getCode()
is mapped here in the identity projection for quick filter search.- Returns:
- the associated
BackupType.getCode()
-
-