public enum MTStorageType extends java.lang.Enum<MTStorageType>
Enum Constant and Description |
---|
CUSTOM_PROPS |
CUSTOM_PROPS_VALUE |
MASTER |
MASTER_WITH_SETUP |
SYSTEM |
SYSTEM_RESOURCE |
TEMPLATE |
TEMPLATE_WITH_SETUP |
TENANT |
TENANT_MONITOR |
Modifier and Type | Method and Description |
---|---|
static java.util.Set<MTStorageType> |
getEDTriggerList() |
static MTStorageType |
getMTStorageType(java.lang.Integer tbValue) |
static MTStorageType |
getMTStorageType(java.lang.String storageTypeStr)
Recognize label ("tenant") or # in a string ("0").
|
int |
getTbValue() |
boolean |
hasHiddenTenantID() |
boolean |
hasSetupFlag()
Does this storage type require a MaxSetupFlag column in the table?
|
boolean |
isMaster() |
boolean |
isNotSystem() |
boolean |
isSystem() |
boolean |
isSystemResource() |
boolean |
isTemplate() |
boolean |
isTenant() |
boolean |
isTenantMonitor() |
static MTStorageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MTStorageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MTStorageType TENANT
public static final MTStorageType MASTER
public static final MTStorageType SYSTEM
public static final MTStorageType TEMPLATE
public static final MTStorageType SYSTEM_RESOURCE
public static final MTStorageType MASTER_WITH_SETUP
public static final MTStorageType TEMPLATE_WITH_SETUP
public static final MTStorageType TENANT_MONITOR
public static final MTStorageType CUSTOM_PROPS
public static final MTStorageType CUSTOM_PROPS_VALUE
public static MTStorageType[] values()
for (MTStorageType c : MTStorageType.values()) System.out.println(c);
public static MTStorageType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getTbValue()
public static MTStorageType getMTStorageType(java.lang.Integer tbValue)
public static MTStorageType getMTStorageType(java.lang.String storageTypeStr)
public boolean isMaster()
public boolean isSystem()
public boolean hasSetupFlag()
public boolean isTenant()
public boolean isTenantMonitor()
public boolean isSystemResource()
public boolean isTemplate()
public static java.util.Set<MTStorageType> getEDTriggerList()
public boolean isNotSystem()
public boolean hasHiddenTenantID()