Class PreferenceImpl
- java.lang.Object
-
- org.apache.qpid.server.model.preferences.PreferenceImpl
-
- All Implemented Interfaces:
Preference
public class PreferenceImpl extends Object implements Preference
-
-
Field Summary
-
Fields inherited from interface org.apache.qpid.server.model.preferences.Preference
ASSOCIATED_OBJECT_ATTRIBUTE, CREATED_DATE_ATTRIBUTE, DESCRIPTION_ATTRIBUTE, ID_ATTRIBUTE, LAST_UPDATED_DATE_ATTRIBUTE, NAME_ATTRIBUTE, OWNER_ATTRIBUTE, TYPE_ATTRIBUTE, VALUE_ATTRIBUTE, VISIBILITY_LIST_ATTRIBUTE
-
-
Constructor Summary
Constructors Constructor Description PreferenceImpl(ConfiguredObject<?> associatedObject, UUID uuid, String name, String type, String description, Principal owner, Date lastUpdatedDate, Date createdDate, Set<Principal> visibilitySet, PreferenceValue preferenceValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfiguredObject<?>
getAssociatedObject()
Map<String,Object>
getAttributes()
Date
getCreatedDate()
String
getDescription()
UUID
getId()
Date
getLastUpdatedDate()
String
getName()
Principal
getOwner()
String
getType()
PreferenceValue
getValue()
Set<Principal>
getVisibilityList()
-
-
-
Method Detail
-
getId
public UUID getId()
- Specified by:
getId
in interfacePreference
-
getName
public String getName()
- Specified by:
getName
in interfacePreference
-
getType
public String getType()
- Specified by:
getType
in interfacePreference
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfacePreference
-
getOwner
public Principal getOwner()
- Specified by:
getOwner
in interfacePreference
-
getAssociatedObject
public ConfiguredObject<?> getAssociatedObject()
- Specified by:
getAssociatedObject
in interfacePreference
-
getVisibilityList
public Set<Principal> getVisibilityList()
- Specified by:
getVisibilityList
in interfacePreference
-
getLastUpdatedDate
public Date getLastUpdatedDate()
- Specified by:
getLastUpdatedDate
in interfacePreference
-
getCreatedDate
public Date getCreatedDate()
- Specified by:
getCreatedDate
in interfacePreference
-
getValue
public PreferenceValue getValue()
- Specified by:
getValue
in interfacePreference
-
getAttributes
public Map<String,Object> getAttributes()
- Specified by:
getAttributes
in interfacePreference
-
-