public static class ConcreteSyntaxConstraintProvider.SyntaxConstraintNode extends java.lang.Object implements IConcreteSyntaxConstraintProvider.ISyntaxConstraint
Modifier and Type | Field and Description |
---|---|
protected IConcreteSyntaxConstraintProvider.ISyntaxConstraint |
container |
protected java.util.List<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> |
contents |
protected AbstractElement |
element |
protected boolean |
multiple |
protected boolean |
optional |
protected org.eclipse.emf.ecore.EClass |
semanticType |
protected java.util.Set<org.eclipse.emf.ecore.EClass> |
semanticTypes |
protected IConcreteSyntaxConstraintProvider.ConstraintType |
type |
Modifier | Constructor and Description |
---|---|
protected |
ConcreteSyntaxConstraintProvider.SyntaxConstraintNode() |
|
ConcreteSyntaxConstraintProvider.SyntaxConstraintNode(IConcreteSyntaxConstraintProvider.ConstraintType type,
AbstractElement ele,
java.util.List<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> contents,
org.eclipse.emf.ecore.EClass semanticType,
boolean multiple,
boolean optional) |
protected IConcreteSyntaxConstraintProvider.ISyntaxConstraint container
protected java.util.List<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> contents
protected AbstractElement element
protected boolean multiple
protected boolean optional
protected org.eclipse.emf.ecore.EClass semanticType
protected java.util.Set<org.eclipse.emf.ecore.EClass> semanticTypes
protected IConcreteSyntaxConstraintProvider.ConstraintType type
protected ConcreteSyntaxConstraintProvider.SyntaxConstraintNode()
public ConcreteSyntaxConstraintProvider.SyntaxConstraintNode(IConcreteSyntaxConstraintProvider.ConstraintType type, AbstractElement ele, java.util.List<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> contents, org.eclipse.emf.ecore.EClass semanticType, boolean multiple, boolean optional)
protected boolean containsType()
public boolean dependsOn(IConcreteSyntaxConstraintProvider.ISyntaxConstraint ele)
dependsOn
in interface IConcreteSyntaxConstraintProvider.ISyntaxConstraint
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public IConcreteSyntaxConstraintProvider.ISyntaxConstraint findCommonContainer(IConcreteSyntaxConstraintProvider.ISyntaxConstraint obj1)
findCommonContainer
in interface IConcreteSyntaxConstraintProvider.ISyntaxConstraint
protected Pair<java.util.Set<org.eclipse.emf.ecore.EClass>,java.util.Set<org.eclipse.emf.ecore.EClass>> getAllSemanticTypesPairs(java.util.Set<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> exclude)
public org.eclipse.emf.ecore.EStructuralFeature getAssignmentFeature(org.eclipse.emf.ecore.EClass clazz)
getAssignmentFeature
in interface IConcreteSyntaxConstraintProvider.ISyntaxConstraint
public java.lang.String getAssignmentName()
getAssignmentName
in interface IConcreteSyntaxConstraintProvider.ISyntaxConstraint
public java.lang.String getCardinality()
getCardinality
in interface IConcreteSyntaxConstraintProvider.ISyntaxConstraint
public IConcreteSyntaxConstraintProvider.ISyntaxConstraint getContainer()
getContainer
in interface IConcreteSyntaxConstraintProvider.ISyntaxConstraint
public java.util.List<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> getContents()
getContents
in interface IConcreteSyntaxConstraintProvider.ISyntaxConstraint
public AbstractElement getGrammarElement()
getGrammarElement
in interface IConcreteSyntaxConstraintProvider.ISyntaxConstraint
protected java.util.Set<org.eclipse.emf.ecore.EClass> getSemanticTypeByParent(java.util.Set<IConcreteSyntaxConstraintProvider.ISyntaxConstraint> exclude)
public java.util.Set<org.eclipse.emf.ecore.EClass> getSemanticTypes()
getSemanticTypes
in interface IConcreteSyntaxConstraintProvider.ISyntaxConstraint
public java.util.Set<org.eclipse.emf.ecore.EClass> getSemanticTypesToCheck()
getSemanticTypesToCheck
in interface IConcreteSyntaxConstraintProvider.ISyntaxConstraint
public IConcreteSyntaxConstraintProvider.ConstraintType getType()
getType
in interface IConcreteSyntaxConstraintProvider.ISyntaxConstraint
public int hashCode()
hashCode
in class java.lang.Object
public boolean isMultiple()
isMultiple
in interface IConcreteSyntaxConstraintProvider.ISyntaxConstraint
public boolean isOptional()
isOptional
in interface IConcreteSyntaxConstraintProvider.ISyntaxConstraint
public boolean isRoot()
isRoot
in interface IConcreteSyntaxConstraintProvider.ISyntaxConstraint
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(java.util.Map<IConcreteSyntaxConstraintProvider.ISyntaxConstraint,java.lang.String> postfix)
toString
in interface IConcreteSyntaxConstraintProvider.ISyntaxConstraint