public class Setting extends Object implements Serializable
Constructor and Description |
---|
Setting() |
Modifier and Type | Method and Description |
---|---|
String |
getAccess()
Returns a string that describes the access permissions for the setting.
|
boolean |
getArchive()
Return true if this setting can be applied when loading a backup.
|
boolean |
getClone()
Returns true if this setting can be applied when loading a profile.
|
String |
getRange()
Returns a string that describes the acceptable range of values for this setting.
|
String |
getType()
Returns a string describing the data type of the setting.
|
String |
getValue()
Returns the setting's value.
|
boolean |
isReadOnly()
Returns true if the setting does not have write access.
|
boolean |
isValid(String value)
Returns true if
value is valid for the given setting. |
boolean |
isWriteOnly()
Returns true if the setting does not have read access.
|
void |
setAccess(String access)
Set the access permissions for this setting.
|
void |
setArchive(boolean archive)
Set to true if this setting should be applied when loading a backup.
|
void |
setClone(boolean clone)
Set to true if this setting should be applied when loading a profile.
|
void |
setRange(String range)
Takes a string that describes the acceptable range of values for this setting.
|
void |
setType(String type)
Set the setting's data type.
|
void |
setValue(String newValue)
Set the setting's value.
|
String |
toString() |
public String getRange()
public void setRange(String range)
range
- a string that describes the acceptable range of values for this settingpublic boolean isValid(String value)
value
is valid for the given setting.value
- Setting value.public boolean getClone()
public void setClone(boolean clone)
clone
- set to true if this setting should be applied when loading a profilepublic boolean getArchive()
public void setArchive(boolean archive)
archive
- set to true if this setting should be applied when loading a backuppublic String getAccess()
public void setAccess(String access)
access
- the access permissions for this settingpublic String getType()
public void setType(String type)
type
- a string describing the data type of the settingpublic String getValue()
public void setValue(String newValue)
newValue
- the settings valuepublic boolean isReadOnly()
public boolean isWriteOnly()
public String toString()
toString
in class Object
Object.toString()
© 2016 ZIH Corp. All Rights Reserved.