public class ArchimateLayerExpert
extends java.lang.Object
| Constructor and Description |
|---|
ArchimateLayerExpert() |
| Modifier and Type | Method and Description |
|---|---|
static Folder |
getLayerContainer(Model model,
java.lang.Class<? extends Folder> layer)
Get the folder corresponding to the given layer.
|
static Folder |
getLayerContainer(Model model,
MClass metaclass)
Get the folder corresponding to the metaclass layer.
|
static java.util.List<java.lang.String> |
getLayers() |
static java.util.List<java.lang.String> |
getMetaclassByLayer(java.lang.String layer)
Return the Archimate Concepts associated to a specified layer (aka
Folder qualified name) |
static java.lang.String |
getMetaclassLayer(java.lang.String metaclassName)
Return the layer (aka
Folder qualified name) of a specified Archimate Concept. |
public static java.util.List<java.lang.String> getLayers()
metaclassespublic static java.util.List<java.lang.String> getMetaclassByLayer(java.lang.String layer)
Folder qualified name)layer - Qualified name of an archimate layer, e.g. BusinessFolder.MQNAME.public static java.lang.String getMetaclassLayer(java.lang.String metaclassName)
Folder qualified name) of a specified Archimate Concept.metaclassName - Qualified name of an Archimate Concept.null for relationships and concepts not belonging to a specific layer (like Groupings and Junctions).public static Folder getLayerContainer(Model model, MClass metaclass)
model - the archimate model to look for the folder into.metaclass - a metaclass.null otherwise.public static Folder getLayerContainer(Model model, java.lang.Class<? extends Folder> layer)
model - the archimate model to look for the folder into.layer - an archimate layer.