public class PresenceCondition
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ARG_CONDID |
static java.lang.String |
ARG_N |
static java.lang.String |
ARG_SIBLING |
static PresenceCondition |
F |
static PresenceCondition |
M |
static PresenceCondition |
NA |
static PresenceCondition |
O |
static java.lang.String |
STEM_END_COND
Stem end for presence conditions with 'condID' argument.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getArgs() |
UmlConstraint |
getConstraint()
Returns potentially null constraint from which this presence condition has been created.
|
UmlAttribute |
getDefinitionLiteral()
Returns (potentially null) UML literal defining this presence condition; it is null in case
there is an error in the model and the presence condition found in the class is not a
standard one.
|
static java.util.Set<java.lang.String> |
getNamesOfImplicits() |
java.lang.String |
getStem() |
java.lang.String |
getStemAndArgs()
Returns
stem(args) if there are arguments, otherwise just stem . |
java.lang.String |
getText() |
boolean |
isWithCondID()
Returns true if this is a presence condition with the non-machine-processable argument
ARG_CONDID (meaning the stem ends with STEM_END_COND ), false otherwise. |
java.lang.String |
toString() |
public static final java.lang.String STEM_END_COND
public static final java.lang.String ARG_CONDID
public static final java.lang.String ARG_N
public static final java.lang.String ARG_SIBLING
public static final PresenceCondition M
public static final PresenceCondition O
public static final PresenceCondition NA
public static final PresenceCondition F
public static java.util.Set<java.lang.String> getNamesOfImplicits()
public UmlConstraint getConstraint()
public UmlAttribute getDefinitionLiteral()
public java.lang.String getStem()
public java.lang.String getArgs()
public java.lang.String getText()
public java.lang.String getStemAndArgs()
stem(args)
if there are arguments, otherwise just stem
.public boolean isWithCondID()
ARG_CONDID
(meaning the stem ends with STEM_END_COND
), false otherwise.public java.lang.String toString()
toString
in class java.lang.Object
Copyright 2009-2016 Tatjana (Tanja) Kostic