public class PropertyTraits
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
kComputedValue |
static int |
kNotInherited |
static int |
kSame |
static int |
kSpecifiedValue |
Constructor and Description |
---|
PropertyTraits() |
PropertyTraits(int behav)
Constructor
|
PropertyTraits(int behav,
boolean parent,
int refid)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getInheritanceBehaviour()
Retrieves inheritance behaviour
|
int |
getPercentageRef()
Retrieves percentage reference property id
|
int |
getPercentageRef(int ownProperty)
Retrieves percentage reference property id
|
boolean |
isPercentageParentRef()
Retrieves percentage parent or self reference type
|
public static final int kNotInherited
public static final int kComputedValue
public static final int kSpecifiedValue
public static final int kSame
public PropertyTraits(int behav, boolean parent, int refid)
public PropertyTraits(int behav)
public PropertyTraits()
public int getInheritanceBehaviour()
public int getPercentageRef()
public int getPercentageRef(int ownProperty)
ownProperty
- this property's id. Used to already resolve the special value kSame.public boolean isPercentageParentRef()