|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectResourceImpl
org.mindswap.ocl.impl.OCLResourceImpl
org.mindswap.ocl.impl.OCLObjectImpl
Title: OCLObjectImpl
Description: Implementation of the OCLObject interface, an abstract representation of a java object
Copyright: Copyright (c) 2005
Company: Mindswap (http://www.mindswap.org)
| Field Summary | |
static boolean |
DEBUG
|
static Implementation |
factory
|
| Constructor Summary | |
protected |
OCLObjectImpl(Node n,
EnhGraph eg)
Creates a new OCLJenaObject resource. Not for public use. |
| Method Summary | |
void |
addJar(java.lang.String theJar)
Adds a new remote jar url. |
java.lang.Object |
create()
Creates the java object this resource corresponds to. |
OCLConstructor |
getConstructor()
Returns the constructor for this object |
Literal |
getHasClass()
Returns the value of the hasClass property, which is the java type of this object |
Literal |
getJar()
Gets the remote jar url. |
NodeIterator |
listJars()
Return a list of remote jars associated with this object |
void |
removeJar(java.lang.String theJar)
Removes the specified jar property |
void |
setConstructor(OCLConstructor theConstructor)
Sets the constructor for this object |
void |
setHasClass(Literal theHasClass)
|
| Methods inherited from class org.mindswap.ocl.impl.OCLResourceImpl |
mustBeValidModel |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.mindswap.ocl.OCLObject |
setHasClass, setHasClass |
| Field Detail |
public static boolean DEBUG
public static Implementation factory
| Constructor Detail |
protected OCLObjectImpl(Node n,
EnhGraph eg)
n - Node the node to wrap as an imageeg - EnhGraph the graph the node belongs to| Method Detail |
public Literal getJar()
OCLObject
getJar in interface OCLObjectpublic NodeIterator listJars()
OCLObject
listJars in interface OCLObjectpublic void addJar(java.lang.String theJar)
OCLObject
addJar in interface OCLObjecttheJar - String the new jar url to addpublic void removeJar(java.lang.String theJar)
OCLObject
removeJar in interface OCLObjecttheJar - String the jar value to removepublic Literal getHasClass()
OCLObject
getHasClass in interface OCLObjectpublic void setHasClass(Literal theHasClass)
public OCLConstructor getConstructor()
OCLObject
getConstructor in interface OCLObjectpublic void setConstructor(OCLConstructor theConstructor)
OCLObject
setConstructor in interface OCLObjecttheConstructor - OCLConstructor the new constructor
public java.lang.Object create()
throws java.lang.ClassNotFoundException,
java.lang.NoSuchMethodException,
java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
OCLObject
create in interface OCLObjectjava.lang.IllegalAccessException
java.lang.NoSuchMethodException
java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.reflect.InvocationTargetException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||