Package cruise.umple.compiler
Class TraceRecord
java.lang.Object
cruise.umple.compiler.TraceRecord
public class TraceRecord
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description TraceRecord(TraceDirective aTraceDirective)
-
Method Summary
Modifier and Type Method Description boolean
addAttribute(Attribute aAttribute)
boolean
addAttributeAt(Attribute aAttribute, int index)
boolean
addOrMoveAttributeAt(Attribute aAttribute, int index)
boolean
addOrMoveStateMachineAt(StateMachine aStateMachine, int index)
boolean
addRecord(java.lang.String aRecord)
boolean
addStateMachine(StateMachine aStateMachine)
boolean
addStateMachineAt(StateMachine aStateMachine, int index)
void
delete()
Attribute
getAttribute(int index)
java.util.List<Attribute>
getAttributes()
java.lang.String[]
getRecord()
java.lang.String
getRecord(int index)
boolean
getRecordOnly()
StateMachine
getStateMachine(int index)
java.util.List<StateMachine>
getStateMachines()
TraceDirective
getTraceDirective()
boolean
hasAttributes()
boolean
hasRecord()
boolean
hasStateMachines()
int
indexOfAttribute(Attribute aAttribute)
int
indexOfRecord(java.lang.String aRecord)
int
indexOfStateMachine(StateMachine aStateMachine)
static int
minimumNumberOfAttributes()
static int
minimumNumberOfStateMachines()
int
numberOfAttributes()
int
numberOfRecord()
int
numberOfStateMachines()
boolean
removeAttribute(Attribute aAttribute)
boolean
removeRecord(java.lang.String aRecord)
boolean
removeStateMachine(StateMachine aStateMachine)
boolean
setRecordOnly(boolean aRecordOnly)
boolean
setTraceDirective(TraceDirective aNewTraceDirective)
java.lang.String
toString()
-
Constructor Details
-
Method Details
-
setRecordOnly
public boolean setRecordOnly(boolean aRecordOnly) -
addRecord
public boolean addRecord(java.lang.String aRecord) -
removeRecord
public boolean removeRecord(java.lang.String aRecord) -
getRecordOnly
public boolean getRecordOnly() -
getRecord
public java.lang.String getRecord(int index) -
getRecord
public java.lang.String[] getRecord() -
numberOfRecord
public int numberOfRecord() -
hasRecord
public boolean hasRecord() -
indexOfRecord
public int indexOfRecord(java.lang.String aRecord) -
getAttribute
-
getAttributes
-
numberOfAttributes
public int numberOfAttributes() -
hasAttributes
public boolean hasAttributes() -
indexOfAttribute
-
getStateMachine
-
getStateMachines
-
numberOfStateMachines
public int numberOfStateMachines() -
hasStateMachines
public boolean hasStateMachines() -
indexOfStateMachine
-
getTraceDirective
-
minimumNumberOfAttributes
public static int minimumNumberOfAttributes() -
addAttribute
-
removeAttribute
-
addAttributeAt
-
addOrMoveAttributeAt
-
minimumNumberOfStateMachines
public static int minimumNumberOfStateMachines() -
addStateMachine
-
removeStateMachine
-
addStateMachineAt
-
addOrMoveStateMachineAt
-
setTraceDirective
-
delete
public void delete() -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-