org.opentox.toxotis.core.component
Class AASpecifications

java.lang.Object
  extended by org.opentox.toxotis.core.OTComponent<AASpecifications>
      extended by org.opentox.toxotis.core.component.AASpecifications
All Implemented Interfaces:
Serializable, IOTComponent, IStAXWritable

Deprecated.

@Deprecated
public class AASpecifications
extends OTComponent<AASpecifications>

Definition of the actions that the client should take, in term of parameters that should be provided for Authentication and/or Authorization. Optional parameter that specify the user's preferences regarding possible created policies are also listed in the specifications in here.

Author:
Pantelis Sopasakis, Charalampos Chomenides
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.opentox.toxotis.core.OTComponent
meta, RDF_ABOUT, RDF_RDF, RDF_RESOURCE, RDF_TYPE
 
Constructor Summary
AASpecifications()
          Deprecated.  
AASpecifications(VRI uri)
          Deprecated.  
 
Method Summary
 AASpecifications addAuthParameters(HttpParameter... authParameters)
          Deprecated.  
 AASpecifications addSimpleHeaderParameter(String headerName, boolean optional, com.hp.hpl.jena.datatypes.xsd.XSDDatatype xsdType)
          Deprecated.  
 com.hp.hpl.jena.ontology.Individual asIndividual(com.hp.hpl.jena.ontology.OntModel model)
          Deprecated. The OpenTox component as an individual.
 Set<HttpParameter> getAuthParameters()
          Deprecated.  
 AASpecifications setAuthParameters(Set<HttpParameter> authParameters)
          Deprecated.  
 void writeRdf(XMLStreamWriter writer)
          Deprecated. Due to the large size of some objects like datasets, it is advisable to use this method for serializing large objects to RDF/XML rather than the method OntModel#write(OutputStream).
 
Methods inherited from class org.opentox.toxotis.core.OTComponent
addOntologicalClasses, asOntModel, endRdfWriter, equals, getMeta, getOntologicalClasses, getUri, hashCode, initRdfWriter, isEnabled, setEnabled, setMeta, setOntologicalClasses, setUri, writeAnnotationProperty, writeClass, writeDatatypeProperty, writeMetaDataProperties, writeObjectProperty, writeRdf, writeRdf, writeSuperClassRelationships
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AASpecifications

public AASpecifications(VRI uri)
Deprecated. 

AASpecifications

public AASpecifications()
Deprecated. 
Method Detail

getAuthParameters

public Set<HttpParameter> getAuthParameters()
Deprecated. 

addSimpleHeaderParameter

public AASpecifications addSimpleHeaderParameter(String headerName,
                                                 boolean optional,
                                                 com.hp.hpl.jena.datatypes.xsd.XSDDatatype xsdType)
Deprecated. 

setAuthParameters

public AASpecifications setAuthParameters(Set<HttpParameter> authParameters)
Deprecated. 

addAuthParameters

public AASpecifications addAuthParameters(HttpParameter... authParameters)
Deprecated. 

asIndividual

public com.hp.hpl.jena.ontology.Individual asIndividual(com.hp.hpl.jena.ontology.OntModel model)
Deprecated. 
Description copied from interface: IOTComponent
The OpenTox component as an individual.

Parameters:
model - The ontological model to which the individual belongs.
Returns:
The OpenTox component as an individual of a data model.

writeRdf

public void writeRdf(XMLStreamWriter writer)
              throws XMLStreamException
Deprecated. 
Description copied from interface: IStAXWritable
Due to the large size of some objects like datasets, it is advisable to use this method for serializing large objects to RDF/XML rather than the method OntModel#write(OutputStream). In the case of Datasets, it has been shown that this method performs much faster (about 7,5 times faster on a dataset of 21 features and 1000 compounds).

Parameters:
writer - XML Stream Writer used for the serialization of the dataset object.
Throws:
XMLStreamException - In case the serialization is not possible due to syntax errors.


Copyright © 2011-2012 OpenTox. All Rights Reserved.