Package org.openwms.core.preferences
Class Preference
java.lang.Object
org.openwms.core.preferences.Preference
- All Implemented Interfaces:
Serializable
A Preference is the persistence-agnostic domain model representing a configuration preference.
- Author:
- Heiko Scherrer
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate Stringprivate booleanprivate Stringprivate Stringprivate LocalDateTimeprivate Stringprivate Stringprivate Stringprivate Stringprivate PropertyScopeprivate PreferenceTypeprivate String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetKey()getOwner()getPKey()getScope()getType()getVal()inthashCode()booleanbooleanstatic Preference.BuildervoidsetDefValue(String defValue) voidsetDescription(String description) voidsetFromFile(boolean fromFile) voidsetGroupName(String groupName) voidvoidsetLastModifiedDt(LocalDateTime lastModifiedDt) voidsetMaxValue(String maxValue) voidsetMinValue(String minValue) voidvoidvoidsetScope(PropertyScope scope) voidsetType(PreferenceType type) voidtoString()
-
Field Details
-
pKey
-
key
-
owner
-
description
-
val
-
defValue
-
minValue
-
maxValue
-
groupName
-
scope
-
type
-
fromFile
private boolean fromFile -
lastModifiedDt
-
-
Constructor Details
-
Preference
public Preference() -
Preference
-
-
Method Details
-
getPKey
-
setPKey
-
getKey
-
setKey
-
getOwner
-
setOwner
-
getDescription
-
setDescription
-
getVal
-
setVal
-
getDefValue
-
setDefValue
-
getMinValue
-
setMinValue
-
getMaxValue
-
setMaxValue
-
getGroupName
-
setGroupName
-
getScope
-
setScope
-
getType
-
setType
-
isFromFile
public boolean isFromFile() -
setFromFile
public void setFromFile(boolean fromFile) -
getLastModifiedDt
-
setLastModifiedDt
-
getPrefKey
-
getPersistentKey
-
hasPersistentKey
public boolean hasPersistentKey() -
equals
-
hashCode
public int hashCode() -
toString
-
newBuilder
-