public class DefaultCharacteristic extends Object implements Characteristic
Constructor and Description |
---|
DefaultCharacteristic() |
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)
@Deprecated @CheckForNull public WorkUnit factor()
factor
in interface Characteristic
@Deprecated public DefaultCharacteristic setFactor(@Nullable WorkUnit factor)
@CheckForNull public Integer factorValue()
factorValue
in interface Characteristic
public DefaultCharacteristic setFactorValue(@Nullable Integer factorValue)
@CheckForNull public WorkDuration.UNIT factorUnit()
factorUnit
in interface Characteristic
public DefaultCharacteristic setFactorUnit(@Nullable WorkDuration.UNIT factorUnit)
@Deprecated public WorkUnit offset()
offset
in interface Characteristic
@Deprecated public DefaultCharacteristic setOffset(@Nullable WorkUnit offset)
@CheckForNull public Integer offsetValue()
offsetValue
in interface Characteristic
public DefaultCharacteristic setOffsetValue(@Nullable Integer offsetValue)
@CheckForNull public WorkDuration.UNIT offsetUnit()
offsetUnit
in interface Characteristic
public DefaultCharacteristic setOffsetUnit(@Nullable WorkDuration.UNIT offsetUnit)
public static WorkDuration.UNIT toUnit(@Nullable String requirementUnit)
public boolean isRoot()
isRoot
in interface Characteristic
public boolean isRequirement()
isRequirement
in interface Characteristic
Copyright © 2009-2014 SonarSource. All Rights Reserved.