public class DefaultCharacteristic extends Object implements Characteristic
Constructor and Description |
---|
DefaultCharacteristic() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
WorkUnit |
factor() |
String |
function() |
int |
hashCode() |
Integer |
id() |
boolean |
isRequirement() |
boolean |
isRoot() |
String |
key() |
String |
name() |
WorkUnit |
offset() |
Integer |
order() |
Integer |
parentId() |
Integer |
rootId() |
RuleKey |
ruleKey() |
DefaultCharacteristic |
setFactor(WorkUnit factor) |
DefaultCharacteristic |
setFunction(String function) |
DefaultCharacteristic |
setId(Integer id) |
DefaultCharacteristic |
setKey(String key) |
DefaultCharacteristic |
setName(String name) |
DefaultCharacteristic |
setOffset(WorkUnit offset) |
DefaultCharacteristic |
setOrder(Integer order) |
DefaultCharacteristic |
setParentId(Integer parentId) |
DefaultCharacteristic |
setRootId(Integer rootId) |
DefaultCharacteristic |
setRuleKey(RuleKey ruleKey) |
String |
toString() |
public DefaultCharacteristic()
public Integer id()
id
in interface Characteristic
public DefaultCharacteristic setId(Integer id)
@CheckForNull public String key()
key
in interface Characteristic
public DefaultCharacteristic setKey(@Nullable String key)
@CheckForNull public String name()
name
in interface Characteristic
public DefaultCharacteristic setName(@Nullable String name)
@CheckForNull public Integer order()
order
in interface Characteristic
public DefaultCharacteristic setOrder(@Nullable Integer order)
@CheckForNull public Integer parentId()
parentId
in interface Characteristic
public DefaultCharacteristic setParentId(@Nullable Integer parentId)
@CheckForNull public Integer rootId()
rootId
in interface Characteristic
public DefaultCharacteristic setRootId(@Nullable Integer rootId)
@CheckForNull public RuleKey ruleKey()
ruleKey
in interface Characteristic
public DefaultCharacteristic setRuleKey(@Nullable RuleKey ruleKey)
@CheckForNull public String function()
function
in interface Characteristic
public DefaultCharacteristic setFunction(@Nullable String function)
@CheckForNull public WorkUnit factor()
factor
in interface Characteristic
public DefaultCharacteristic setFactor(@Nullable WorkUnit factor)
@CheckForNull public WorkUnit offset()
offset
in interface Characteristic
public DefaultCharacteristic setOffset(@Nullable WorkUnit offset)
public boolean isRoot()
isRoot
in interface Characteristic
public boolean isRequirement()
isRequirement
in interface Characteristic
Copyright © 2009-2014 SonarSource. All Rights Reserved.