|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.Observable
nesstar.rdf.RDFObject
nesstar.rdf.RDFClass
public class RDFClass
An RDF Class.
| Field Summary |
|---|
| Fields inherited from class nesstar.rdf.RDFObject |
|---|
COLSEP, IS_GETTER, IS_PART, IS_PART_OF, WRITE_OP |
| Fields inherited from interface nesstar.api.Type |
|---|
GET_FORM, NO_FORM, POST_DATA_FORM, POST_FORM |
| Constructor Summary | |
|---|---|
RDFClass()
Constructor for the RDFClass object |
|
RDFClass(RDFDB db,
URL url)
Constructor for the RDFClass object |
|
| Method Summary | |
|---|---|
Vector |
getAllMethods()
|
Vector |
getAllProperties()
|
String |
getDefaultValue()
|
String |
getFormType()
Return the type for the HTML input form field. |
String |
getJavaSimpleType()
|
String |
getJavaType()
|
NSMethod |
getMethod(String name)
|
Vector |
getMethods()
Gets the methods attribute of the RDFClass object |
Vector |
getProperties()
Gets the properties attribute of the RDFClass object |
RDFProperty |
getProperty(String name)
|
static RDFClass |
getRDFClass(RDFDB db,
String url)
Gets the rDFClass attribute of the RDFClass class |
static RDFClass |
getRDFClass(RDFDB db,
URL url)
Gets the rDFClass attribute of the RDFClass class |
String |
getStringToTypeOp()
|
RDFClass |
getSuperClass()
Gets the superClass attribute of the RDFClass object |
Object |
getSuperClassRef()
Gets the superClassRef attribute of the RDFClass object |
Object |
getValue(NSParameter parameter,
Parameters params)
Read a value of the given type from the parameters |
void |
init()
Method |
boolean |
isAssignableFrom(RDFClass cls)
Gets the assignableFrom attribute of the RDFClass object |
boolean |
isSubclassOf(RDFClass superClass)
|
int |
needsFormType()
|
String |
toString()
Method |
| Methods inherited from class java.util.Observable |
|---|
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RDFClass()
public RDFClass(RDFDB db,
URL url)
throws Exception
db - url -
Exception| Method Detail |
|---|
public static RDFClass getRDFClass(RDFDB db,
String url)
throws Exception
db - url -
Exception
public static RDFClass getRDFClass(RDFDB db,
URL url)
throws Exception
db - url -
Exception
public Vector getMethods()
throws Exception
Exception
public Vector getAllMethods()
throws Exception
Exception
public Vector getProperties()
throws Exception
getProperties in class RDFObjectException
public Vector getAllProperties()
throws Exception
Exception
public RDFProperty getProperty(String name)
throws Exception
name - the short or long name of the property
Exception
public Object getSuperClassRef()
throws Exception
Exception
public RDFClass getSuperClass()
throws Exception
Exception
public boolean isSubclassOf(RDFClass superClass)
throws Exception
superClass - the superclass
Exception
public boolean isAssignableFrom(RDFClass cls)
throws Exception
cls -
Exception
public NSMethod getMethod(String name)
throws Exception
name - the short or long name of the method
Exception
public void init()
throws Exception
Exceptionpublic String toString()
toString in class RDFObject
public Object getValue(NSParameter parameter,
Parameters params)
throws Exception
getValue in interface Typeparameter - params -
Exceptionpublic String getJavaType()
getJavaType in interface Typepublic String getJavaSimpleType()
getJavaSimpleType in interface Typepublic String getFormType()
getFormType in interface Typepublic String getStringToTypeOp()
getStringToTypeOp in interface Typepublic String getDefaultValue()
getDefaultValue in interface Typepublic int needsFormType()
needsFormType in interface Type
|
Nesstar SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||