public interface Extension
| Modifier and Type | Method and Description |
|---|---|
<T extends com.ibm.ia.model.Entity> |
createRelationship(java.lang.Class<T> entity,
java.lang.String key)
Creates Relationship instance.
|
<T extends com.ibm.ia.model.Entity> |
createRelationship(T t)
Creates Relationship instance.
|
<T> T |
getConceptFactory(java.lang.Class<T> conceptFactoryClass)
Returns an instance of the concept factory.
|
ModelSerializer |
getModelSerializer()
Returns the model serializer instance.
|
SolutionDescriptor |
getSolutionDescriptor()
Returns solution-specific information.
|
java.util.Map<java.lang.String,java.lang.String> |
getSolutionProperties(java.util.Collection<java.lang.String> propertyNames)
Reads the values of multiple solution properties for the solution to.
|
java.lang.String |
getSolutionProperty(java.lang.String propertyName)
Retrieves the value of a solution property for the solution.
|
java.lang.String |
getSolutionProperty(java.lang.String propertyName,
java.lang.String defaultValue)
Retrieves the value of a solution property for the solution.
|
SolutionDescriptor getSolutionDescriptor()
java.lang.UnsupportedOperationException - if called outside a valid execution context.java.lang.String getSolutionProperty(java.lang.String propertyName)
java.lang.UnsupportedOperationException - if called outside a valid execution context.propertyName - the name of the property.java.lang.String getSolutionProperty(java.lang.String propertyName,
java.lang.String defaultValue)
java.lang.UnsupportedOperationException - if called outside a valid execution context.propertyName - the name of the property.defaultValue - the value to use if the property is undefined.java.util.Map<java.lang.String,java.lang.String> getSolutionProperties(java.util.Collection<java.lang.String> propertyNames)
java.lang.UnsupportedOperationException - if called outside a valid execution context.propertyNames - The names of the properties to retrieve.ModelSerializer getModelSerializer()
java.lang.UnsupportedOperationException - if called outside a valid execution context.<T> T getConceptFactory(java.lang.Class<T> conceptFactoryClass)
java.lang.UnsupportedOperationException - if called outside a valid execution context.<T extends com.ibm.ia.model.Entity> com.ibm.ia.model.Relationship<T> createRelationship(java.lang.Class<T> entity,
java.lang.String key)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionjava.lang.UnsupportedOperationException - if called outside a valid execution context.entity - type of entity in this relationshipkey - entity Id for this relationship<T extends com.ibm.ia.model.Entity> com.ibm.ia.model.Relationship<T> createRelationship(T t)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionjava.lang.UnsupportedOperationException - if called outside a valid execution context.t - entity instance for this relationship© Copyright IBM 2017