Package com.morpheusdata.model
Class AccountInventoryType
java.lang.Object
com.morpheusdata.model.MorpheusModel
com.morpheusdata.model.AccountInventoryType
Represents the type for inventory files
- Since:
- 0.16.1
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected Boolean
protected String
protected Boolean
protected String
Fields inherited from class com.morpheusdata.model.MorpheusModel
config, id
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the more detailed description of the inventory type.getName()
Gets the name of the inventory type for displayvoid
setCreatable
(Boolean creatable) void
setDescription
(String description) Sets the description of the inventory typevoid
setEnabled
(Boolean enabled) void
Sets the name of the inventory type for reference and displayMethods inherited from class com.morpheusdata.model.MorpheusModel
getConfig, getConfigMap, getConfigProperty, getDirtyProperties, getDirtyPropertyValues, getId, getProperties, isDirty, markClean, markDirty, markDirty, setConfig, setConfigMap, setConfigProperty, setId
-
Field Details
-
name
-
code
-
description
-
enabled
-
creatable
-
-
Constructor Details
-
AccountInventoryType
public AccountInventoryType()
-
-
Method Details
-
getName
Gets the name of the inventory type for display- Returns:
- the current inventory type name
-
setName
Sets the name of the inventory type for reference and display- Parameters:
name
- the name to be assigned to the inventory type
-
getDescription
Gets the more detailed description of the inventory type.- Returns:
- the description information
-
setDescription
Sets the description of the inventory type- Parameters:
description
- the description string to be saved
-
getEnabled
-
setEnabled
-
getCreatable
-
setCreatable
-