Package systems.dmx.core
Interface CompDef
-
- All Superinterfaces:
Assoc,DMXObject,Identifiable,JSONEnabled
public interface CompDef extends Assoc
A composition definition of a parent type and a child type -- part of DMX's type system.The parent type is either a
TopicTypeor anAssocType. The child type is always aTopicType.- Author:
- Jörg Richter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetChildCardinalityUri()StringgetChildTypeUri()StringgetCompDefUri()StringgetCustomAssocTypeUri()StringgetInstanceLevelAssocTypeUri()CompDefModelgetModel()StringgetParentTypeUri()ViewConfiggetViewConfig()voidsetChildCardinalityUri(String childCardinalityUri)voidupdate(CompDefModel model)-
Methods inherited from interface systems.dmx.core.Assoc
getDMXObject1, getDMXObject2, getDMXObjectByRole, getDMXObjectByType, getOtherPlayerId, getPlayer1, getPlayer2, getPlayerByRole, hasSameRoleTypeUris, matches, playerCount
-
Methods inherited from interface systems.dmx.core.DMXObject
checkWriteAccess, delete, getAssoc, getAssocs, getChildTopics, getDatabaseVendorObject, getId, getProperty, getRelatedAssoc, getRelatedAssocs, getRelatedAssocs, getRelatedTopic, getRelatedTopics, getRelatedTopics, getSimpleValue, getType, getTypeUri, getUri, hasProperty, loadChildTopics, loadChildTopics, removeProperty, setProperty, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setSimpleValue, setTypeUri, setUri, update, update, updateChildTopics
-
Methods inherited from interface systems.dmx.core.JSONEnabled
dump, toJSON
-
-
-
-
Method Detail
-
getCompDefUri
String getCompDefUri()
-
getParentTypeUri
String getParentTypeUri()
-
getChildTypeUri
String getChildTypeUri()
-
getCustomAssocTypeUri
String getCustomAssocTypeUri()
- Returns:
- The custom association type, or
nullif not set.
-
getInstanceLevelAssocTypeUri
String getInstanceLevelAssocTypeUri()
- Returns:
- The type to be used to create an association instance based on this comp def.
That is the custom association type if set, otherwise
dmx.core.composition. Is nevernull.
-
getChildCardinalityUri
String getChildCardinalityUri()
-
setChildCardinalityUri
void setChildCardinalityUri(String childCardinalityUri)
-
getViewConfig
ViewConfig getViewConfig()
-
update
void update(CompDefModel model)
-
getModel
CompDefModel getModel()
-
-