public class ClassNotation extends XmiHelper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
lastNamespace |
static int |
xElement |
static int |
xPackage |
static int |
yElement |
static int |
yPackage |
Constructor and Description |
---|
ClassNotation(DocumentManager documentManager,
org.w3c.dom.Node notatioChildren) |
Modifier and Type | Method and Description |
---|---|
static void |
clearConfigurations() |
void |
createNodeForElementType(java.lang.String idProperty,
java.lang.String type,
java.lang.String typeElement,
org.w3c.dom.Element appendTo) |
java.lang.String |
createXmiForClassInNotationFile(java.lang.String id,
java.lang.String idPackage,
java.lang.String type,
Element aClass) |
void |
createXmiForPackageInNotationFile(java.lang.String id,
Package original) |
void |
createXmiForStereotype(java.lang.String name,
java.lang.String idClass,
java.lang.String perfilType) |
findByID, findByIDInNotationFile, findIdByName, findTypeById, getHeightForPackage, getIdForNode, getOnlyIdOfXmiAttribute, getOriginalNotation, getWidhtForPackage, getXmiId, getXValueForElement, getYValueForElement, isClassAbstract, randomNum, removeNode, setNotationOriginalFile, setRecursiveOwnedComments, splitVariants
public static int xElement
public static int yElement
public static int xPackage
public static int yPackage
public static java.lang.String lastNamespace
public ClassNotation(DocumentManager documentManager, org.w3c.dom.Node notatioChildren)
public static void clearConfigurations()
public void createNodeForElementType(java.lang.String idProperty, java.lang.String type, java.lang.String typeElement, org.w3c.dom.Element appendTo)
public java.lang.String createXmiForClassInNotationFile(java.lang.String id, java.lang.String idPackage, java.lang.String type, Element aClass) throws NullReferenceFoundException
id
- - ID da class ou associationClass no arquivo umlidPackage
- - ID do pacote se tivertype
- - "associationClass" se for para associationClass qualquer outra coisa para clasNullReferenceFoundException
public void createXmiForPackageInNotationFile(java.lang.String id, Package original)
public void createXmiForStereotype(java.lang.String name, java.lang.String idClass, java.lang.String perfilType)
name
- - o nome do esterótipoidClass
- - id da classe que se deseja aplicar o estereótipoperfilType
- - de qual perfil vem o estereótipo sendo aplicadoNodeNotFound