Uses of Interface
info.sswap.http.representation.Value

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

Uses of Value in info.sswap.http.representation
 

Classes in info.sswap.http.representation that implement Value
 class ArrayValue
           
 class Entity
          Represents an entity (e.g., subject, object, etc.)
 class LiteralValue
          Represents a value (e.g., of a property) in the intermediate representation.
 class ValueBase
           
 

Fields in info.sswap.http.representation declared as Value
private  Value[] ArrayValue.array
          The underlying array of values
private  Value Property.value
          The value for this property.
 

Methods in info.sswap.http.representation that return Value
 Value[] ArrayValue.asArray()
           
 Value[] Value.asArray()
          Gets the representation of this value as an array of values.
 Value[] ValueBase.asArray()
           
 Value Property.getValue()
          Gets the value of the property
 

Methods in info.sswap.http.representation with parameters of type Value
 void Property.setValue(Value value)
          Sets the value of the property
 

Constructors in info.sswap.http.representation with parameters of type Value
ArrayValue(Value[] array)
          Creates an array of values initialized with the specified java array.
Property(java.lang.String name, int minCardinality, int maxCardinality, Value value)
          Creates a property with specified name, value, and cardinality restrictions
Property(java.lang.String name, Value value)
          Creates a property with a specified name and value, and default cardinality restrictions.
 

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

Methods in info.sswap.http.representation.json that return Value
private static Value JsonPropertyFactory.buildValueFromComplexRepresentation(org.json.JSONObject valueObject, Property property, Prefixes prefixes)
          Builds a value based on the complex form of value representation (e.g., { "value" : 42, "cardinality" : [ 0, 1 ] } or a nested entity).
 

Uses of Value in info.sswap.http.rest
 

Methods in info.sswap.http.rest with parameters of type Value
private  void ProtocolFactory.assignValue(info.sswap.api.model.SSWAPIndividual entity, Property jsonProperty, Value jsonValue)
           
private  info.sswap.api.model.SSWAPDatatype PropertyFactory.createDatatype(info.sswap.api.model.SSWAPDocument document, Value value)
           
private  java.util.Collection<info.sswap.api.model.SSWAPDatatype> PropertyFactory.createDatatypes(info.sswap.api.model.SSWAPDocument document, Value value)
           
private  java.util.Collection<info.sswap.api.model.SSWAPPredicate> PropertyFactory.createEmptyProperties(info.sswap.api.model.SSWAPDocument document, Value value)
           
private  info.sswap.api.model.SSWAPPredicate PropertyFactory.createEmptyProperty(info.sswap.api.model.SSWAPDocument document, Value value)
          Creates an empty SSWAPPredicate object with the given URI.
private  info.sswap.api.model.SSWAPIndividual EntityFactory.createPropertyEntityValue(info.sswap.api.model.SSWAPModel entity, info.sswap.api.model.SSWAPPredicate predicate, Value jsonValue)
          Creates a anonymous entity value for a property (object property)
private  info.sswap.api.model.SSWAPElement EntityFactory.createPropertyLiteralValue(info.sswap.api.model.SSWAPModel entity, info.sswap.api.model.SSWAPPredicate predicate, Value jsonValue)
          Creates a literal value for a property (a datatype property)
 info.sswap.api.model.SSWAPElement EntityFactory.createPropertyValue(info.sswap.api.model.SSWAPModel entity, info.sswap.api.model.SSWAPPredicate predicate, Value jsonValue)
          Creates a value for a property.
 java.util.Collection<info.sswap.api.model.SSWAPType> TypeFactory.createSubTypes(info.sswap.api.model.SSWAPDocument document, Value value)
          Creates types based on the JSON value description.
 info.sswap.api.model.SSWAPType TypeFactory.createType(info.sswap.api.model.SSWAPDocument document, Value value)
          Creates a type based on its JSON value description.
protected static java.util.Collection<java.net.URI> DefinitionFactoryBase.createURICollection(Value collectionValue)
          Treats the given JSON value as an array of URIs and converts it into a collection of URIs
protected static java.lang.String DefinitionFactoryBase.getString(Value value)
          Gets the value of the Value as string
protected  java.util.Collection<LiteralValue> DefinitionFactoryBase.getValuesAsLiteralCollection(Value value)
          Converts a JSON intermediate representation of a value to a collection of strings.
protected static java.util.Collection<info.sswap.api.model.SSWAPElement> DefinitionFactoryBase.getValuesAsPropertyValues(info.sswap.api.model.SSWAPDocument document, info.sswap.api.model.SSWAPPredicate predicate, Value value)
           
protected static java.util.Collection<java.lang.String> DefinitionFactoryBase.getValuesAsStringCollection(Value value)
          Converts a JSON intermediate representation of a value to a collection of strings.
private  void EntityFactory.initializePropertyValue(info.sswap.api.model.SSWAPIndividual entity, Property jsonProperty, Value jsonValue)
           
private  void EntityFactory.initializeTypeProperty(info.sswap.api.model.SSWAPIndividual entity, Value typeValue)
          Initializes rdf:type property.
 

Uses of Value in info.sswap.http.util
 

Methods in info.sswap.http.util with parameters of type Value
private static
<T> T
EntityUtil.convertValue(Value value, com.google.common.base.Function<Value,T> valueConverter)
          Invokes the conversion function for a Value, and generates an exception if the function is unable to perform the conversion.
 

Method parameters in info.sswap.http.util with type arguments of type Value
private static
<T> T
EntityUtil.convertValue(Value value, com.google.common.base.Function<Value,T> valueConverter)
          Invokes the conversion function for a Value, and generates an exception if the function is unable to perform the conversion.
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).
 



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