Uses of Class
info.sswap.http.representation.Entity

Packages that use Entity
info.sswap.http.representation   
info.sswap.http.representation.json   
info.sswap.http.rest   
info.sswap.http.util   
 

Uses of Entity in info.sswap.http.representation
 

Fields in info.sswap.http.representation declared as Entity
private  Entity EntityMessage.entity
          The entity stored in the message
 

Fields in info.sswap.http.representation with type parameters of type Entity
private  java.util.Map<java.lang.String,Entity> EntityMessage.individuals
           
 

Methods in info.sswap.http.representation that return Entity
 Entity Entity.asEntity()
           
 Entity Value.asEntity()
          Returns the value as an entity
 Entity ValueBase.asEntity()
           
 Entity EntityMessage.getEntity()
          Gets the information about entity contained within this message.
 Entity EntityMessage.getIndividual(java.lang.String identifier)
           
 Entity PDGMessage.getProvider()
          Gets the information about SSWAP Provider described in this PDG.
 Entity ProtocolMessage.getResource()
          Gets the properties of the SSWAPResource (e.g., name, oneLineDescription).
 

Methods in info.sswap.http.representation that return types with arguments of type Entity
 java.util.Map<java.lang.String,Entity> EntityMessage.getIndividuals()
           
 

Methods in info.sswap.http.representation with parameters of type Entity
 void EntityMessage.setEntity(Entity entity)
          Sets the information about entity contained within this message
 void PDGMessage.setProvider(Entity provider)
          Sets the information about SSWAP Provider.
 void ProtocolMessage.setResource(Entity resource)
          Sets the properties of the SSWAPResource (e.g., name, oneLineDescription)
 

Method parameters in info.sswap.http.representation with type arguments of type Entity
 void EntityMessage.setIndividuals(java.util.Map<java.lang.String,Entity> individuals)
           
 

Constructors in info.sswap.http.representation with parameters of type Entity
EntityMessage(Prefixes prefixes, Imports imports, Entity entity)
          Creates a message containing information about imports, namespace prefixes and the entity contained within the message
EntityMessage(Prefixes prefixes, Imports imports, Entity entity, java.util.Map<java.lang.String,Entity> individuals)
           
ProtocolMessage(Prefixes prefixes, Imports imports, Entity resource, java.util.Map<java.lang.String,java.util.Collection<java.lang.String>> subjectObjectMap)
          Creates an object with all data read from the input
 

Constructor parameters in info.sswap.http.representation with type arguments of type Entity
EntityMessage(Prefixes prefixes, Imports imports, Entity entity, java.util.Map<java.lang.String,Entity> individuals)
           
 

Uses of Entity in info.sswap.http.representation.json
 

Methods in info.sswap.http.representation.json that return Entity
static Entity JsonEntityFactory.buildEntity(java.lang.String uri, org.json.JSONObject object, Prefixes prefixes)
          Creates an entity based on its parsed description
 

Methods in info.sswap.http.representation.json that return types with arguments of type Entity
static java.util.Map<java.lang.String,Entity> JsonIndividualFactory.buildIndividualsMap(org.json.JSONObject object, Prefixes prefixes)
          Builds a map with defined individuals individuals
 

Uses of Entity in info.sswap.http.rest
 

Methods in info.sswap.http.rest that return Entity
private  Entity ProtocolFactory.createTypedEntity(java.lang.String type)
           
 

Methods in info.sswap.http.rest with parameters of type Entity
private  void ProtocolFactory.assignValues(info.sswap.api.model.SSWAPIndividual entity, Entity jsonEntity)
           
private  boolean TypeFactory.containsOnlyRestrictions(Entity entity)
          Checks whether the given JSON object contains only properties that encode restrictions.
private  void MakeRQG.copyTypes(Entity jsonIndividual, info.sswap.api.model.SSWAPIndividual entity)
           
private  void ProtocolFactory.copyTypes(Entity jsonIndividual, info.sswap.api.model.SSWAPIndividual entity)
           
private  info.sswap.api.model.SSWAPDatatype PropertyFactory.createComplexDatatype(info.sswap.api.model.SSWAPDocument document, Entity value)
           
<T extends info.sswap.api.model.SSWAPIndividual>
T
EntityFactory.createEntity(info.sswap.api.model.SSWAPDocument document, Entity jsonEntity, java.lang.Class<T> entityClass)
          Creates a SSWAPIndividual in the given model based on its definition in JSON
 info.sswap.api.model.SSWAPIndividual OntologyFactory.createOntology(info.sswap.api.model.SSWAPDocument document, Entity jsonOntology)
           
 info.sswap.api.model.SSWAPPredicate PropertyFactory.createPredicate(info.sswap.api.model.SSWAPDocument document, Entity jsonProperty)
          Creates a property definition in the specified model and based on the JSON description
private  java.util.Collection<info.sswap.api.model.SSWAPType> TypeFactory.createRestrictions(info.sswap.api.model.SSWAPDocument document, Entity jsonEntity)
          Creates owl:Restrictions from a JSON object
private  void TypeFactory.createRestrictions(info.sswap.api.model.SSWAPDocument document, Entity jsonEntity, java.util.List<info.sswap.api.model.SSWAPType> regularRestrictions, java.util.List<info.sswap.api.model.SSWAPType> markerRestrictions)
           
private  void TypeFactory.createRestrictions(info.sswap.api.model.SSWAPDocument document, info.sswap.api.model.SSWAPPredicate predicate, Entity jsonEntity, java.util.List<info.sswap.api.model.SSWAPType> regularRestrictions, java.util.List<info.sswap.api.model.SSWAPType> markerRestrictions)
          Creates restriction(s) for a single property, e.g., encoded as: "property" : { "owl:minCardinality" : 1^^"xsd:integer", "owl:allValuesFrom" : "map:Map", } (The example above will generate two restrictions)
 info.sswap.api.model.SSWAPType TypeFactory.createType(info.sswap.api.model.SSWAPDocument document, Entity jsonType)
          Creates a SSWAP type based on its JSON description
private  PropertyFactory.PropertyType PropertyFactory.determinePropertyType(info.sswap.api.model.SSWAPPredicate predicate, Entity jsonPredicate)
          Determines the type of the property (object or datatype property).
private  void TypeFactory.initializeAnonymousType(info.sswap.api.model.SSWAPType type, Entity jsonType)
          Initializes an anonymous type (that is not a restriction).
private  void TypeFactory.initializeNamedType(info.sswap.api.model.SSWAPType type, Entity jsonType)
          Initializes a named type.
private  void OntologyFactory.initializeOntology(info.sswap.api.model.SSWAPIndividual ontology, Entity jsonOntology)
           
private  void EntityFactory.initializeProperties(info.sswap.api.model.SSWAPIndividual entity, Entity jsonEntity)
          Initializes SSWAPProperties/SSWAPTypes for the entity
 void EntityFactory.initializeProperties(info.sswap.api.model.SSWAPIndividual entity, Entity jsonEntity, java.util.Collection<java.lang.String> excludedProperties)
           
private  void PropertyFactory.initializeProperty(info.sswap.api.model.SSWAPPredicate predicate, Entity jsonPredicate)
          Initializes an empty SSWAPPredicate during its creation process.
private  void PropertyFactory.initializePropertyTypes(info.sswap.api.model.SSWAPPredicate predicate, Entity jsonPredicate, PropertyFactory.PropertyType propertyType)
          Initializes property definition with type information (via rdf:type statements) based on the information explicitly declared in the JSON definition and type information guessed from the heuristics.
 boolean OntologyFactory.isOntology(Entity jsonEntity)
           
private  PropertyFactory.PropertyType PropertyFactory.processAnonymousRangeDefinition(Entity rangeDef)
          Processes an anonymous range definition in an attempt to detect the type of the property.
private  PropertyFactory.PropertyType PropertyFactory.processRangeAssertions(Entity jsonPredicate, PropertyFactory.PropertyType propertyType)
          Processes the rdfs:range definitions in JSON in order to determine whether the property is a datatype or an object property.
private  PropertyFactory.PropertyType PropertyFactory.processSubPropertyOfAssertions(info.sswap.api.model.SSWAPPredicate predicate, Entity jsonPredicate, PropertyFactory.PropertyType propertyType)
           
private  PropertyFactory.PropertyType PropertyFactory.processTypeAssertions(Entity jsonPredicate)
          Processes the rdf:type definitions in JSON in order to determine whether the property is a datatype or an object property
 

Method parameters in info.sswap.http.rest with type arguments of type Entity
private  info.sswap.api.model.SSWAPGraph MakeRQG.makeMapping(info.sswap.api.model.RQG rqg, java.util.Map<java.lang.String,Entity> individuals, Mapping mapping)
           
private  info.sswap.api.model.SSWAPGraph ProtocolFactory.makeMapping(info.sswap.api.model.SSWAPProtocol protocol, java.util.Map<java.lang.String,Entity> individuals, Mapping mapping)
           
 

Uses of Entity in info.sswap.http.util
 

Methods in info.sswap.http.util with parameters of type Entity
static
<T> java.util.Collection<T>
EntityUtil.getMultiValueProperty(Entity entity, java.lang.String propertyName, com.google.common.base.Function<Value,T> valueConverter)
          Converts values for a property that can potentially have multiple values (e.g., the value of the property is a JSON array).
static java.lang.String EntityUtil.getOptionalPropertyAsString(Entity entity, java.lang.String propertyName)
           
static java.net.URI EntityUtil.getOptionalPropertyAsURI(Entity entity, java.lang.String propertyName)
          Gets a URI value for an optional property.
static java.lang.String EntityUtil.getRequiredPropertyAsString(Entity entity, java.lang.String propertyName)
          Gets a value for the first property with the specified name for an entity.
static java.net.URI EntityUtil.getRequiredPropertyAsURI(Entity entity, java.lang.String propertyName)
          Gets a URI value for a required property
 



Copyright (c) 2010, iPlant Collaborative, University of Arizona, Cold Spring Harbor Laboratories, University of Texas at Austin.