|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object krieger.oclsolve.ClassifierFactory<CID>
CID
- The type used for identifying classes in the class diagram.public class ClassifierFactory<CID>
A factory for Classifiers
representing OCL types.
Method Summary | |
---|---|
void |
addToProblem(Problem problem)
Adds this declaration to the given Problem . |
SetExpression |
allInstances(CID className)
|
Classifier<?> |
getBooleanType(Multiplicity mult)
|
CID |
getClass(ClassInstance object)
|
Classifier<?> |
getClassType(CID name,
Multiplicity mult)
|
Classifier<?> |
getIntegerType(Multiplicity mult)
|
Classifier<?> |
getStringType(Multiplicity mult)
|
ClassInstance |
newInstance(CID className)
Creates a new ClassInstance of the given class type. |
ClassInstance |
newInstance(java.util.Collection<CID> superTypeNames)
Creates a new ClassInstance with the given supertypes whose exact type is unknown. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Classifier<?> getBooleanType(Multiplicity mult)
public Classifier<?> getStringType(Multiplicity mult)
public Classifier<?> getIntegerType(Multiplicity mult)
public Classifier<?> getClassType(CID name, Multiplicity mult)
public ClassInstance newInstance(CID className)
ClassInstance
of the given class type.
public ClassInstance newInstance(java.util.Collection<CID> superTypeNames)
ClassInstance
with the given supertypes whose exact type is unknown.
public CID getClass(ClassInstance object)
public SetExpression allInstances(CID className)
public void addToProblem(Problem problem)
Declaration
Problem
.
addToProblem
in interface Declaration
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |