public class AssociationTypeModelImpl extends Object implements AssociationTypeModel
AssociationType.| Modifier and Type | Method and Description |
|---|---|
AssociationTypeModel |
addAssocDef(AssociationDefinitionModel assocDef) |
TypeModel |
addAssocDefBefore(AssociationDefinitionModel assocDef,
String beforeAssocDefUri) |
void |
addIndexMode(IndexMode indexMode) |
AssociationTypeModelImpl |
clone() |
RoleModel |
createRoleModel(String roleTypeUri) |
boolean |
equals(Object o) |
de.deepamehta.core.impl.AssociationDefinitionModelImpl |
getAssocDef(String assocDefUri) |
Collection<de.deepamehta.core.impl.AssociationDefinitionModelImpl> |
getAssocDefs() |
de.deepamehta.core.impl.ChildTopicsModelImpl |
getChildTopicsModel() |
String |
getDataTypeUri() |
long |
getId() |
List<IndexMode> |
getIndexModes() |
SimpleValue |
getSimpleValue() |
String |
getTypeUri() |
String |
getUri() |
de.deepamehta.core.impl.ViewConfigurationModelImpl |
getViewConfig() |
Object |
getViewConfigValue(String configTypeUri,
String childTypeUri) |
boolean |
hasAssocDef(String assocDefUri) |
int |
hashCode() |
Iterator<String> |
iterator()
Returns an interator which iterates this TypeModel's assoc def URIs.
|
AssociationDefinitionModel |
removeAssocDef(String assocDefUri) |
void |
set(DeepaMehtaObjectModel object) |
void |
setChildTopicsModel(ChildTopicsModel childTopics) |
void |
setDataTypeUri(String dataTypeUri) |
void |
setId(long id) |
void |
setSimpleValue(boolean value) |
void |
setSimpleValue(int value) |
void |
setSimpleValue(long value) |
void |
setSimpleValue(SimpleValue value) |
void |
setSimpleValue(String value) |
void |
setTypeUri(String typeUri) |
void |
setUri(String uri) |
void |
setViewConfig(ViewConfigurationModel viewConfig) |
org.codehaus.jettison.json.JSONObject |
toJSON() |
String |
toString() |
finalize, getClass, notify, notifyAll, wait, wait, waitaddAssocDefBefore, addIndexMode, getAssocDef, getAssocDefs, getDataTypeUri, getIndexModes, getViewConfig, getViewConfigValue, hasAssocDef, removeAssocDef, setDataTypeUri, setViewConfigcreateRoleModel, getChildTopicsModel, getId, getSimpleValue, getTypeUri, getUri, set, setChildTopicsModel, setId, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setTypeUri, setUritoJSONforEach, iterator, spliteratorpublic AssociationTypeModel addAssocDef(AssociationDefinitionModel assocDef)
addAssocDef in interface AssociationTypeModeladdAssocDef in interface TypeModelassocDef - the assoc def to add.
Note: its ID might be uninitialized (-1).public AssociationTypeModelImpl clone()
clone in interface DeepaMehtaObjectModelclone in interface TopicModelpublic String toString()
public String getDataTypeUri()
getDataTypeUri in interface TypeModelpublic void setDataTypeUri(String dataTypeUri)
setDataTypeUri in interface TypeModelpublic List<IndexMode> getIndexModes()
getIndexModes in interface TypeModelpublic void addIndexMode(IndexMode indexMode)
addIndexMode in interface TypeModelpublic Collection<de.deepamehta.core.impl.AssociationDefinitionModelImpl> getAssocDefs()
getAssocDefs in interface TypeModelpublic de.deepamehta.core.impl.AssociationDefinitionModelImpl getAssocDef(String assocDefUri)
getAssocDef in interface TypeModelpublic boolean hasAssocDef(String assocDefUri)
hasAssocDef in interface TypeModelpublic TypeModel addAssocDefBefore(AssociationDefinitionModel assocDef, String beforeAssocDefUri)
addAssocDefBefore in interface TypeModelassocDef - the assoc def to add.
Note: its ID might be uninitialized (-1).beforeAssocDefUri - the URI of the assoc def before the given assoc def is inserted.
If null the assoc def is appended at the end.public AssociationDefinitionModel removeAssocDef(String assocDefUri)
removeAssocDef in interface TypeModelpublic de.deepamehta.core.impl.ViewConfigurationModelImpl getViewConfig()
getViewConfig in interface TypeModelpublic Object getViewConfigValue(String configTypeUri, String childTypeUri)
getViewConfigValue in interface TypeModelpublic void setViewConfig(ViewConfigurationModel viewConfig)
setViewConfig in interface TypeModelpublic Iterator<String> iterator()
public org.codehaus.jettison.json.JSONObject toJSON()
toJSON in interface JSONEnabledpublic RoleModel createRoleModel(String roleTypeUri)
createRoleModel in interface DeepaMehtaObjectModelpublic long getId()
getId in interface IdentifiablegetId in interface DeepaMehtaObjectModelpublic void setId(long id)
setId in interface DeepaMehtaObjectModelpublic String getUri()
getUri in interface DeepaMehtaObjectModelpublic void setUri(String uri)
setUri in interface DeepaMehtaObjectModelpublic String getTypeUri()
getTypeUri in interface DeepaMehtaObjectModelpublic void setTypeUri(String typeUri)
setTypeUri in interface DeepaMehtaObjectModelpublic SimpleValue getSimpleValue()
getSimpleValue in interface DeepaMehtaObjectModelpublic void setSimpleValue(String value)
setSimpleValue in interface DeepaMehtaObjectModelpublic void setSimpleValue(int value)
setSimpleValue in interface DeepaMehtaObjectModelpublic void setSimpleValue(long value)
setSimpleValue in interface DeepaMehtaObjectModelpublic void setSimpleValue(boolean value)
setSimpleValue in interface DeepaMehtaObjectModelpublic void setSimpleValue(SimpleValue value)
setSimpleValue in interface DeepaMehtaObjectModelpublic de.deepamehta.core.impl.ChildTopicsModelImpl getChildTopicsModel()
getChildTopicsModel in interface DeepaMehtaObjectModelpublic void setChildTopicsModel(ChildTopicsModel childTopics)
setChildTopicsModel in interface DeepaMehtaObjectModelpublic void set(DeepaMehtaObjectModel object)
set in interface DeepaMehtaObjectModelCopyright © 2018. All rights reserved.