org.argouml.ocl
Class ArgoAny
java.lang.Object
org.argouml.ocl.ArgoAny
- All Implemented Interfaces:
- tudresden.ocl.check.types.Any, tudresden.ocl.check.types.Type, tudresden.ocl.check.types.Type2
- class ArgoAny
- extends Object
- implements tudresden.ocl.check.types.Any, tudresden.ocl.check.types.Type2
A class that is the wrapper for any type.
Nested classes inherited from class tudresden.ocl.check.types.Any |
tudresden.ocl.check.types.Any.VoidAny |
Fields inherited from interface tudresden.ocl.check.types.Any |
VOID |
Constructor Summary |
(package private) |
ArgoAny(Object cl)
Constructor. |
Methods inherited from interface tudresden.ocl.check.types.Any |
|
LOG
private static final Logger LOG
- Logger for the ArgoAny class.
classifier
private Object classifier
ArgoAny
ArgoAny(Object cl)
- Constructor.
- Parameters:
cl
- The ArgoUML classifier.
navigateQualified
public tudresden.ocl.check.types.Type navigateQualified(String name,
tudresden.ocl.check.types.Type[] qualifiers)
throws tudresden.ocl.check.OclTypeException
- Specified by:
navigateQualified
in interface tudresden.ocl.check.types.Type
- Throws:
tudresden.ocl.check.OclTypeException
- See Also:
Type.navigateQualified(
java.lang.String, tudresden.ocl.check.types.Type[])
navigateParameterizedQuery
public tudresden.ocl.check.types.Type navigateParameterizedQuery(String name,
tudresden.ocl.check.types.Type[] qualifiers)
throws tudresden.ocl.check.OclTypeException
- Specified by:
navigateParameterizedQuery
in interface tudresden.ocl.check.types.Type2
- Throws:
tudresden.ocl.check.OclTypeException
- See Also:
Type2.navigateParameterizedQuery(
java.lang.String, tudresden.ocl.check.types.Type[])
navigateParameterized
public tudresden.ocl.check.types.Type navigateParameterized(String name,
tudresden.ocl.check.types.Type[] qualifiers)
throws tudresden.ocl.check.OclTypeException
- Specified by:
navigateParameterized
in interface tudresden.ocl.check.types.Type
- Throws:
tudresden.ocl.check.OclTypeException
- See Also:
Type.navigateParameterized(
java.lang.String, tudresden.ocl.check.types.Type[])
internalNavigateParameterized
public tudresden.ocl.check.types.Type internalNavigateParameterized(String name,
tudresden.ocl.check.types.Type[] params,
boolean fCheckIsQuery)
throws tudresden.ocl.check.OclTypeException
- Throws:
tudresden.ocl.check.OclTypeException
conformsTo
public boolean conformsTo(tudresden.ocl.check.types.Type type)
- Specified by:
conformsTo
in interface tudresden.ocl.check.types.Type
- See Also:
Type.conformsTo(tudresden.ocl.check.types.Type)
equals
public boolean equals(Object o)
- Specified by:
equals
in interface tudresden.ocl.check.types.Type
- See Also:
Object.equals(java.lang.Object)
hashCode
public int hashCode()
- Specified by:
hashCode
in interface tudresden.ocl.check.types.Type
- See Also:
Object.hashCode()
toString
public String toString()
- Specified by:
toString
in interface tudresden.ocl.check.types.Type
- See Also:
Object.toString()
hasState
public boolean hasState(String name)
- Specified by:
hasState
in interface tudresden.ocl.check.types.Type
- See Also:
Type.hasState(java.lang.String)
getOclRepresentation
protected tudresden.ocl.check.types.Type getOclRepresentation(Object foundType)
operationMatchesCall
protected boolean operationMatchesCall(Object operation,
String callName,
tudresden.ocl.check.types.Type[] callParams)
- Parameters:
operation
- The operation.callName
- The name that we are trying to match.callParams
- The parameters that we are trying to match.
- Returns:
true
if the given Operation names and parameters
match the given name and parameters.