public interface BaseFactory extends ModelSerializer
to be used in Events and Entities
| Modifier and Type | Method and Description |
|---|---|
<T> T |
createConcept(java.lang.Class<T> clazz)
Creates concept instance
|
<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) |
parseEntity, parseEntity, parseEntity, parseEntity, parseEntity, parseEvent, parseEvent, parseEvent, parseEvent, parseEvent, serializeEntity, serializeEntity, serializeEvent, serializeEvent<T> T createConcept(java.lang.Class<T> clazz)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionclazz - concept type<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.IllegalArgumentExceptionentity - 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.IllegalArgumentExceptiont - entity instance for this relationship<T> T getConceptFactory(java.lang.Class<T> conceptFactoryClass)
© Copyright IBM 2017