Package com.nomagic.uml2.ext.jmi.reflect
Class TestModelBridge
- java.lang.Object
-
- com.nomagic.uml2.ext.jmi.reflect.ModelBridge
-
- com.nomagic.uml2.ext.jmi.reflect.TestModelBridge
-
public class TestModelBridge extends ModelBridge
Test model bridge.
-
-
Constructor Summary
Constructors Constructor Description TestModelBridge(com.nomagic.uml2.impl.TASRepositoryImpl tasRepository)
Creates and initializes a newTestModelBridge
object from specified parameter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
generateId(AbstractRefObject abstractRefObject)
RefClassProvider
getDynamicRefClassProvider()
org.apache.logging.log4j.Logger
getLog()
AbstractRepository
getRepository(AbstractRefObject abstractRefObject)
boolean
isDeveloper()
boolean
isEditable(AbstractRefObject abstractRefObject)
boolean
isParentOf(AbstractRefObject abstractRefObject, BaseElement obj)
void
refDelete(AbstractRefObject abstractRefObject)
void
setId(AbstractRefObject abstractRefObject, java.lang.String id)
-
Methods inherited from class com.nomagic.uml2.ext.jmi.reflect.ModelBridge
canAdd, canAddChild, canAddChild, canAddToParent, canBeDeleted, canChangeParent, canDeleteChild, compareTo, getBridge, getInstance, isRelationship, removeRelated, setInstance
-
-
-
-
Method Detail
-
setId
public void setId(AbstractRefObject abstractRefObject, java.lang.String id)
- Overrides:
setId
in classModelBridge
-
refDelete
public void refDelete(AbstractRefObject abstractRefObject)
- Overrides:
refDelete
in classModelBridge
-
isEditable
public boolean isEditable(AbstractRefObject abstractRefObject)
- Overrides:
isEditable
in classModelBridge
-
isDeveloper
public boolean isDeveloper()
- Overrides:
isDeveloper
in classModelBridge
-
getRepository
public AbstractRepository getRepository(@CheckForNull AbstractRefObject abstractRefObject)
- Overrides:
getRepository
in classModelBridge
-
generateId
public java.lang.String generateId(AbstractRefObject abstractRefObject)
- Overrides:
generateId
in classModelBridge
-
getLog
public org.apache.logging.log4j.Logger getLog()
- Overrides:
getLog
in classModelBridge
-
getDynamicRefClassProvider
public RefClassProvider getDynamicRefClassProvider()
- Overrides:
getDynamicRefClassProvider
in classModelBridge
-
isParentOf
public boolean isParentOf(AbstractRefObject abstractRefObject, BaseElement obj)
- Overrides:
isParentOf
in classModelBridge
-
-