@Entity public class CapabilityImpl extends BambooEntityObject implements Capability
SYSTEM_PREFIX
Constructor and Description |
---|
CapabilityImpl() |
CapabilityImpl(String key,
String value) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object obj) |
void |
copyValueFrom(Capability other) |
boolean |
equals(Object o) |
CapabilitySet |
getCapabilitySet() |
String |
getKey()
Get the key representing the capability
|
String |
getValue()
A value of the capability property.
|
String |
getValueWithDefault()
A null-safe getter of value of the capability property.
|
int |
hashCode() |
void |
setCapabilitySet(CapabilitySet capabilitySet) |
void |
setKey(String key) |
void |
setValue(String value) |
String |
toString() |
clone, getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDate
finalize, getClass, notify, notifyAll, wait, wait, wait
setId
getId
@NotNull public String getKey()
Capability
getKey
in interface Capability
public void setKey(@NotNull String key)
setKey
in interface Capability
@Nullable public String getValue()
Capability
Requirement
getValue
in interface Capability
@NotNull public String getValueWithDefault()
Capability
Requirement
getValueWithDefault
in interface Capability
public void setValue(@Nullable String value)
setValue
in interface Capability
public CapabilitySet getCapabilitySet()
getCapabilitySet
in interface Capability
public void setCapabilitySet(CapabilitySet capabilitySet)
setCapabilitySet
in interface Capability
public void copyValueFrom(Capability other)
copyValueFrom
in interface Capability
public int hashCode()
hashCode
in class com.atlassian.core.bean.EntityObject
public boolean equals(Object o)
equals
in class com.atlassian.core.bean.EntityObject
public int compareTo(Object obj)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.