|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.irisa.genouest.logol.LogolVariable
public class LogolVariable
Field Summary | |
---|---|
static java.util.HashMap<VariableId,VariableId> |
constrainedVariables
Defines after pre-analyse, where a variable is defined compared to its used. |
java.lang.String |
content
|
int |
dataType
|
java.util.Vector<java.lang.String> |
externalIn
|
java.util.Vector<java.lang.String> |
externalOut
|
java.lang.String |
extra
|
java.lang.String |
fixedValue
|
int |
id
|
boolean |
isParent
|
static java.util.HashMap<java.lang.String,java.lang.Boolean> |
mainModels
|
static java.util.Vector<java.lang.String> |
matchedVariables
|
Model |
mod
|
java.lang.String |
model
|
Modifier |
modifier
|
java.lang.String |
name
|
boolean |
neg
|
static java.util.Vector<VariableId> |
overlappedVariables
|
static java.util.HashMap<VariableId,java.lang.String> |
paramVariables
|
java.lang.String |
parentId
|
static java.util.HashMap<VariableId,java.lang.String> |
parentVariables
|
static java.util.Vector<LogolVariable> |
postponedVariables
|
java.lang.String |
referenceID
|
java.lang.String |
referenceModel
|
java.lang.String |
repeatParam
|
java.lang.String |
repeatQuantity
|
int |
repeatType
Repeat type defines the test to apply between repeats 0 = undefined 1 = AND 2 = OVERLAP |
java.lang.String |
saveAs
|
java.util.Vector<StringConstraint> |
stringConstraints
|
java.util.Vector<StructConstraint> |
structConstraints
|
java.lang.String |
text
|
static java.util.Vector<VariableId> |
tmpVariables
|
int |
type
0 = fixed 1 = variable 2 = group 3 = model |
static java.util.HashMap<VariableId,java.lang.String> |
userVariables
|
static java.util.HashMap<java.lang.String,LogolVariable> |
varData
Records all variable info for all models. |
static java.util.Vector<java.lang.Integer> |
variables
|
Constructor Summary | |
---|---|
LogolVariable()
|
|
LogolVariable(java.lang.String mod,
java.lang.String id,
java.lang.String parentModel,
java.lang.String parentName,
Modifier modif)
|
|
LogolVariable(java.lang.String mod,
java.lang.String id,
java.lang.String parentModel,
java.lang.String parentName,
StringConstraint sc)
|
|
LogolVariable(java.lang.String mod,
java.lang.String id,
java.lang.String parentModel,
java.lang.String parentName,
StructConstraint sc)
|
Method Summary | |
---|---|
LogolVariable |
copyInfo()
Copy input LogolVariable main attributes, without the constraints. |
void |
forcepostpone(StringConstraint sc)
Force a constraint to be postponed, no check |
void |
forcepostpone(StringConstraint sc,
int type)
Force a constraint to be postponed, no check |
void |
forcepostpone(StructConstraint sc)
Force a constraint to be postponed, no check |
void |
forcepostpone(StructConstraint sc,
int type)
Force a constraint to be postponed, no check |
static java.lang.String |
getModel(int id)
|
static java.lang.String |
getPostponedVariableList(java.lang.String model)
List all postponed data for the current model, including other models (with their own postponed data) called in current model |
StringConstraint |
getStringConstraint(int constraintType)
|
StructConstraint |
getStructConstraint(int constraintType)
|
boolean |
hasConstraint(int constraintType)
|
boolean |
hasPostponedConstraint(int constraintType)
|
boolean |
postpone(int constraintType,
StringConstraint sc)
Checks if constraint treatment must be postponed according to previous analysis. |
boolean |
postpone(int constraintType,
StructConstraint sc)
Checks if constraint treatment must be postponed according to previous analysis. |
boolean |
repeatPostpone()
Checks for the postpone of checks for repeat quantity |
static void |
reset()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.util.HashMap<java.lang.String,java.lang.Boolean> mainModels
public static java.util.HashMap<VariableId,java.lang.String> userVariables
public static java.util.HashMap<VariableId,java.lang.String> paramVariables
public static java.util.Vector<VariableId> tmpVariables
public static java.util.HashMap<VariableId,java.lang.String> parentVariables
public static java.util.Vector<java.lang.String> matchedVariables
public static java.util.Vector<LogolVariable> postponedVariables
public static java.util.Vector<VariableId> overlappedVariables
public static java.util.HashMap<VariableId,VariableId> constrainedVariables
public static java.util.Vector<java.lang.Integer> variables
public static java.util.HashMap<java.lang.String,LogolVariable> varData
public int type
public boolean neg
public java.lang.String name
public int id
public java.lang.String fixedValue
public java.lang.String content
public java.lang.String saveAs
public java.util.Vector<StringConstraint> stringConstraints
public java.util.Vector<StructConstraint> structConstraints
public java.lang.String repeatQuantity
public int repeatType
public java.lang.String repeatParam
public java.lang.String extra
public java.util.Vector<java.lang.String> externalIn
public java.util.Vector<java.lang.String> externalOut
public Modifier modifier
public java.lang.String parentId
public java.lang.String model
public java.lang.String text
public Model mod
public java.lang.String referenceModel
public java.lang.String referenceID
public boolean isParent
public int dataType
Constructor Detail |
---|
public LogolVariable()
public LogolVariable(java.lang.String mod, java.lang.String id, java.lang.String parentModel, java.lang.String parentName, StringConstraint sc)
public LogolVariable(java.lang.String mod, java.lang.String id, java.lang.String parentModel, java.lang.String parentName, StructConstraint sc)
public LogolVariable(java.lang.String mod, java.lang.String id, java.lang.String parentModel, java.lang.String parentName, Modifier modif)
Method Detail |
---|
public static void reset()
public LogolVariable copyInfo()
public boolean hasConstraint(int constraintType)
public StringConstraint getStringConstraint(int constraintType)
public StructConstraint getStructConstraint(int constraintType)
public boolean hasPostponedConstraint(int constraintType)
public boolean postpone(int constraintType, StringConstraint sc)
constraintType
- Type of the constraintsc
- constraint to postponed
public boolean postpone(int constraintType, StructConstraint sc)
constraintType
- Type of the constraintsc
- constraint to postponed
public boolean repeatPostpone()
public void forcepostpone(StringConstraint sc, int type)
sc
- String constraint to be postponedtype
- Type of forcing constraintpublic void forcepostpone(StringConstraint sc)
sc
- String constraint to be postponedpublic void forcepostpone(StructConstraint sc, int type)
sc
- Struct constraint to be postponedtype
- Type of forcing constraintpublic void forcepostpone(StructConstraint sc)
sc
- Struct constraint to be postponedpublic static java.lang.String getPostponedVariableList(java.lang.String model)
model
- current model name
public static java.lang.String getModel(int id)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |