public class ViewCreator extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
XPATH_TO_XMI_ASSOCIATIONS_SOURCE |
static String |
XPATH_TO_XMI_ASSOCIATIONS_TARGET |
| Constructor and Description |
|---|
ViewCreator(com.weaverplatform.sdk.Weaver weaver,
HashMap<String,String> xmiClasses,
HashMap<String,String> xmiValueClasses,
com.weaverplatform.sdk.Entity dataset) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFiltersToViews(NodeList associations) |
com.weaverplatform.sdk.Entity |
createWeaverFilter(String predicate,
String operation,
String conditionType,
String pointer) |
HashMap<String,com.weaverplatform.sdk.Entity> |
run()
The start method with custom operations on this class
|
com.weaverplatform.sdk.Entity |
toWeaverAnnotation(ConcurrentHashMap<String,String> attributes,
String id)
Creates an Weaver Annotation
|
com.weaverplatform.sdk.Entity |
toWeaverView(String individualId)
Creates an Weaver Individual
|
public static final String XPATH_TO_XMI_ASSOCIATIONS_SOURCE
public static final String XPATH_TO_XMI_ASSOCIATIONS_TARGET
public HashMap<String,com.weaverplatform.sdk.Entity> run()
IOExceptionpublic void addFiltersToViews(NodeList associations)
public com.weaverplatform.sdk.Entity toWeaverView(String individualId)
individualId - public com.weaverplatform.sdk.Entity createWeaverFilter(String predicate, String operation, String conditionType, String pointer)
public com.weaverplatform.sdk.Entity toWeaverAnnotation(ConcurrentHashMap<String,String> attributes, String id)
attributes - id - Copyright © 2016. All rights reserved.