nesstar.api
Class ObjectType

java.lang.Object
  extended by java.util.Observable
      extended by nesstar.rdf.RDFObject
          extended by nesstar.rdf.RDFClass
              extended by nesstar.api.AType
                  extended by nesstar.api.StringType
                      extended by nesstar.api.ObjectType
All Implemented Interfaces:
Comparable, Type, RDFObj

public class ObjectType
extends StringType

A generic Object.


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
ObjectType(RDFDB db, URL id)
          Constructor for the URLType object
 
Method Summary
 String getJavaType()
          Gets the javaType attribute of the URLType object
 Object getValue(NSParameter parameter, Parameters params)
          Read a value of the given type from the parameters
 
Methods inherited from class nesstar.api.StringType
getFormType, needsFormType
 
Methods inherited from class nesstar.api.AType
getDefaultValue, getJavaSimpleType, getStringToTypeOp
 
Methods inherited from class nesstar.rdf.RDFClass
getAllMethods, getAllProperties, getMethod, getMethods, getProperties, getProperty, getRDFClass, getRDFClass, getSuperClass, getSuperClassRef, init, isAssignableFrom, isSubclassOf, toString
 
Methods inherited from class nesstar.rdf.RDFObject
AddProperty, AddStringProperty, chkFinal, clear, compareTo, dbg, equals, err, err, get_comment, get_creationDate, get_label, get, getAccessCondition, getBinding, getBindings, getBookmarkLabel, getCollectionURL, getComment, getCreationDate, getDB, getDescriptor, getDescriptor, getDomain, getGetterMethods, getID, getInitialisedProperties, getInternalID, getLabel, getLastClear, getPartsDescriptor, getPartsDescriptor, getPartsDescriptor, getPath, GetProperties, GetProperty, GetPropertyStatement, GetPropertyStatements, getRange, getRangeType, getRef, getRef, getServer, getShortId, getShortID, getStatementHome, GetStringProperties, GetStringProperty, getTimeoutInSecs, getType, init, init, initialised, isComplete, isLocal, isMeta, isStale, loaded, neededCollectionReload, neededReload, neededReload, neededReload, neededReload, needsReload, reload, remove, set_comment, set_complete, set_creationDate, set_label, set, setComment, setComplete, setCreationDate, setDB, setHardOrSoft, setID, setLabel, setLastClear, SetProperty, setServer, SetStringProperty, setTimeoutInSecs, setTimestamp, setType, setTypeID, stale, toRDF, toRDFWrapped, update
 
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

ObjectType

public ObjectType(RDFDB db,
                  URL id)
           throws Exception
Constructor for the URLType object

Parameters:
db -
id -
Throws:
Exception
Method Detail

getValue

public Object getValue(NSParameter parameter,
                       Parameters params)
                throws Exception
Description copied from class: AType
Read a value of the given type from the parameters

Specified by:
getValue in interface Type
Overrides:
getValue in class StringType
Parameters:
parameter -
params -
Returns:
the result of interpreting the message as a result of this type
Throws:
Exception

getJavaType

public String getJavaType()
Gets the javaType attribute of the URLType object

Specified by:
getJavaType in interface Type
Overrides:
getJavaType in class StringType
Returns:
The javaType value

Nesstar SDK

Copyright©2003 NSD - All Rights Reserved