org.argouml.ocl
Class ArgoAny

java.lang.Object
  extended byorg.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 Class Summary
 
Nested classes inherited from class tudresden.ocl.check.types.Any
tudresden.ocl.check.types.Any.VoidAny
 
Field Summary
private  Object classifier
           
private static Logger LOG
          Logger for the ArgoAny class.
 
Fields inherited from interface tudresden.ocl.check.types.Any
VOID
 
Constructor Summary
(package private) ArgoAny(Object cl)
          Constructor.
 
Method Summary
 boolean conformsTo(tudresden.ocl.check.types.Type type)
           
 boolean equals(Object o)
           
protected  tudresden.ocl.check.types.Type getOclRepresentation(Object foundType)
           
 int hashCode()
           
 boolean hasState(String name)
           
 tudresden.ocl.check.types.Type internalNavigateParameterized(String name, tudresden.ocl.check.types.Type[] params, boolean fCheckIsQuery)
           
 tudresden.ocl.check.types.Type navigateParameterized(String name, tudresden.ocl.check.types.Type[] qualifiers)
           
 tudresden.ocl.check.types.Type navigateParameterizedQuery(String name, tudresden.ocl.check.types.Type[] qualifiers)
           
 tudresden.ocl.check.types.Type navigateQualified(String name, tudresden.ocl.check.types.Type[] qualifiers)
           
protected  boolean operationMatchesCall(Object operation, String callName, tudresden.ocl.check.types.Type[] callParams)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface tudresden.ocl.check.types.Any
 

Field Detail

LOG

private static final Logger LOG
Logger for the ArgoAny class.


classifier

private Object classifier
Constructor Detail

ArgoAny

ArgoAny(Object cl)
Constructor.

Parameters:
cl - The ArgoUML classifier.
Method Detail

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.


ArgoUML © 1996-2004 (20050222)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook