nesstar.api
Class BooleanType

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.BooleanType
All Implemented Interfaces:
Comparable, Type, RDFObj

public class BooleanType
extends AType

A Boolean.

Created:
26 April 2002

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
BooleanType(RDFDB db, URL id)
          Constructor for the BooleanType object
 
Method Summary
 String getDefaultValue()
           
 String getFormType()
          Gets the formType attribute of the BooleanType object
 String getJavaSimpleType()
          Gets the javaSimpleType attribute of the BooleanType object
 String getJavaType()
          Gets the javaType attribute of the BooleanType object
 String getStringToTypeOp()
           
 Object getValue(NSParameter parameter, Parameters params)
          Gets the value attribute of the BooleanType object
 int needsFormType()
          Method
 
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

BooleanType

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

Parameters:
db -
id -
Throws:
Exception
Method Detail

getValue

public Object getValue(NSParameter parameter,
                       Parameters params)
                throws Exception
Gets the value attribute of the BooleanType object

Specified by:
getValue in interface Type
Specified by:
getValue in class AType
Parameters:
parameter -
params -
Returns:
The value value
Throws:
Exception

getFormType

public String getFormType()
Gets the formType attribute of the BooleanType object

Specified by:
getFormType in interface Type
Specified by:
getFormType in class AType
Returns:
The formType value

getJavaType

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

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

getStringToTypeOp

public String getStringToTypeOp()
Specified by:
getStringToTypeOp in interface Type
Overrides:
getStringToTypeOp in class AType
Returns:
the name of the operation to be applied to a String to get a value of this type or null if no convertion is needed

getDefaultValue

public String getDefaultValue()
Specified by:
getDefaultValue in interface Type
Overrides:
getDefaultValue in class AType
Returns:
the default value for this type

getJavaSimpleType

public String getJavaSimpleType()
Gets the javaSimpleType attribute of the BooleanType object

Specified by:
getJavaSimpleType in interface Type
Overrides:
getJavaSimpleType in class AType
Returns:
The javaSimpleType value

needsFormType

public int needsFormType()
Method

Specified by:
needsFormType in interface Type
Specified by:
needsFormType in class AType
Returns:

Nesstar SDK

Copyright©2003 NSD - All Rights Reserved