public class RuleMetaData
extends java.lang.Object
Constructor and Description |
---|
RuleMetaData() |
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(org.eclipse.emf.ecore.EAttribute attribute,
int appearsInLHS,
int appearsInLHSNegative,
int createsInRHS,
int deletesInRHS) |
void |
addClass(org.eclipse.emf.ecore.EClass clazz,
int appearsInLHS,
int appearsInLHSNegative) |
void |
addClass(org.eclipse.emf.ecore.EClass clazz,
int appearsInLHS,
int appearsInLHSNegative,
int createsInRHS,
int deletesInRHS)
Adds all super types too!
|
void |
addClassWithoutSuperType(org.eclipse.emf.ecore.EClass clazz,
int appearsInLHS,
int appearsInLHSNegative,
int createsInRHS,
int deletesInRHS) |
void |
addReference(org.eclipse.emf.ecore.EReference refernece,
int appearsInLHS,
int appearsInLHSNegative,
int createsInRHS,
int deletesInRHS) |
void |
addRuleMetaData(RuleMetaData subResult) |
java.util.Collection<org.eclipse.emf.ecore.EAttribute> |
getAttributes() |
java.util.Collection<org.eclipse.emf.ecore.EClass> |
getClasses() |
java.util.Map<? extends org.eclipse.emf.ecore.EModelElement,ModelElementMetaData> |
getClassesAndReferences() |
java.util.Map<org.eclipse.emf.ecore.EAttribute,java.lang.Integer> |
getLHSNACNumbersForAttributes() |
java.util.Map<org.eclipse.emf.ecore.EClass,java.lang.Integer> |
getLHSNACNumbersForClasses() |
java.util.Map<org.eclipse.emf.ecore.EReference,java.lang.Integer> |
getLHSNACNumbersForReferences() |
java.util.Map<org.eclipse.emf.ecore.EAttribute,java.lang.Integer> |
getLHSNumbersForAttributes() |
java.util.Map<org.eclipse.emf.ecore.EClass,java.lang.Integer> |
getLHSNumbersForClasses() |
java.util.Map<org.eclipse.emf.ecore.EReference,java.lang.Integer> |
getLHSNumbersForReferences() |
ModelElementMetaData |
getMetaDataForAttribute(org.eclipse.emf.ecore.EAttribute attribute) |
ModelElementMetaData |
getMetaDataForClass(org.eclipse.emf.ecore.EClass classifier) |
ModelElementMetaData |
getMetaDataForReference(org.eclipse.emf.ecore.EReference reference) |
java.util.Collection<org.eclipse.emf.ecore.EReference> |
getReferences() |
java.lang.String |
toString() |
public void addRuleMetaData(RuleMetaData subResult)
public void addClass(org.eclipse.emf.ecore.EClass clazz, int appearsInLHS, int appearsInLHSNegative, int createsInRHS, int deletesInRHS)
clazz
- appearsInLHS
- appearsInLHSNegative
- addsInRHS
- deletesInRHS
- public void addClassWithoutSuperType(org.eclipse.emf.ecore.EClass clazz, int appearsInLHS, int appearsInLHSNegative, int createsInRHS, int deletesInRHS)
public void addClass(org.eclipse.emf.ecore.EClass clazz, int appearsInLHS, int appearsInLHSNegative)
public void addReference(org.eclipse.emf.ecore.EReference refernece, int appearsInLHS, int appearsInLHSNegative, int createsInRHS, int deletesInRHS)
public void addAttribute(org.eclipse.emf.ecore.EAttribute attribute, int appearsInLHS, int appearsInLHSNegative, int createsInRHS, int deletesInRHS)
public java.util.Collection<org.eclipse.emf.ecore.EClass> getClasses()
public java.util.Collection<org.eclipse.emf.ecore.EReference> getReferences()
public java.util.Collection<org.eclipse.emf.ecore.EAttribute> getAttributes()
public ModelElementMetaData getMetaDataForClass(org.eclipse.emf.ecore.EClass classifier)
public ModelElementMetaData getMetaDataForReference(org.eclipse.emf.ecore.EReference reference)
public ModelElementMetaData getMetaDataForAttribute(org.eclipse.emf.ecore.EAttribute attribute)
public java.util.Map<org.eclipse.emf.ecore.EClass,java.lang.Integer> getLHSNumbersForClasses()
public java.util.Map<org.eclipse.emf.ecore.EReference,java.lang.Integer> getLHSNumbersForReferences()
public java.util.Map<org.eclipse.emf.ecore.EAttribute,java.lang.Integer> getLHSNumbersForAttributes()
public java.util.Map<org.eclipse.emf.ecore.EClass,java.lang.Integer> getLHSNACNumbersForClasses()
public java.util.Map<org.eclipse.emf.ecore.EReference,java.lang.Integer> getLHSNACNumbersForReferences()
public java.util.Map<org.eclipse.emf.ecore.EAttribute,java.lang.Integer> getLHSNACNumbersForAttributes()
public java.util.Map<? extends org.eclipse.emf.ecore.EModelElement,ModelElementMetaData> getClassesAndReferences()
public java.lang.String toString()
toString
in class java.lang.Object