public class ObjectConfigurationPropertyImpl extends Object implements ObjectConfigurationProperty
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Object Configuration Properties are immutable so this function throws an exception
|
boolean |
containsKey(Object key)
Does this property have a choice with key of the specified value
|
boolean |
containsValue(Object value)
Does this property have a choice with value of the specified value
|
Set |
entrySet()
Entry set of the choices for this property
|
Object |
get(Object key)
Returns the value of the choice that matches key
|
String |
getCascadeFrom() |
String |
getDefault()
Retrieves the default value of this Property e.g.
|
String |
getDescription()
Retrieves the description of this Property e.g.
|
protected Map |
getInternalValues(Map userParams)
Returns the map of values stored internally for the choices of this property.
|
protected Map |
getMutableInternalValues() |
String |
getName()
Retrieves the name of this Property e.g.
|
int |
getType()
Retrieves the type of the Property e.g.
|
String |
getTypeName()
Retrieves the name of the type of the property, e.g.
|
void |
init(Map userParams)
This is a list of user parameters that may be required to generate a list of values and/or a description for this
Property.
|
boolean |
isEmpty()
Does this property have a number of possible choices
|
boolean |
isEnabled()
Whether the property is enabled in the current context.
|
boolean |
isI18nValues() |
Set |
keySet()
Returns a set of the key for the choices for this property
|
Object |
put(Object key,
Object value)
Object Configuration Properties are immutable so this function throws an exception
|
void |
putAll(Map t)
Object Configuration Properties are immutable so this function throws an exception
|
Object |
remove(Object key)
Object Configuration Properties are immutable so this function throws an exception
|
void |
setCascadeFrom(String cascadeFrom) |
void |
setI18nValues(boolean i18nValues) |
int |
size()
If this Property has a list of choices e.g.
|
Collection |
values()
Returns all the values for the choices of this property
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic void init(Map userParams)
init in interface ObjectConfigurationPropertyuserParams - Parameters used to generate a list of values and/or a descriptionpublic String getName()
getName in interface ObjectConfigurationPropertypublic String getDescription()
getDescription in interface ObjectConfigurationPropertypublic String getDefault()
getDefault in interface ObjectConfigurationPropertypublic int getType()
getType in interface ObjectConfigurationPropertyObjectConfigurationTypespublic String getTypeName()
ObjectConfigurationPropertygetTypeName in interface ObjectConfigurationPropertypublic boolean isEnabled()
ObjectConfigurationPropertyisEnabled in interface ObjectConfigurationPropertypublic int size()
public boolean isEmpty()
public boolean containsKey(Object key)
containsKey in interface Mapkey - Does this Property have a choice with key, keypublic boolean containsValue(Object value)
containsValue in interface Mapvalue - Does this Property have a choice with value, valuepublic Object put(Object key, Object value)
public Object remove(Object key)
public void putAll(Map t)
public void clear()
public Set keySet()
public Collection values()
public Set entrySet()
public boolean isI18nValues()
isI18nValues in interface ObjectConfigurationPropertypublic void setI18nValues(boolean i18nValues)
setI18nValues in interface ObjectConfigurationPropertypublic String getCascadeFrom()
getCascadeFrom in interface ObjectConfigurationPropertypublic void setCascadeFrom(String cascadeFrom)
setCascadeFrom in interface ObjectConfigurationPropertyprotected Map getInternalValues(Map userParams)
userParams - Not used in this implementation.protected Map getMutableInternalValues()
Copyright © 2002-2024 Atlassian. All Rights Reserved.