Class AllOfFeatureExpression
- java.lang.Object
-
- de.bmiag.tapir.variant.feature.expression.AllOfFeatureExpression
-
- All Implemented Interfaces:
FeatureExpression
public final class AllOfFeatureExpression extends java.lang.Object implements FeatureExpression
Evaluates to true if, and only if, all feature expressions which are returned bygetFeatureExpressions()
evaluate to true.- Since:
- 2.0.0
- Author:
- Oliver Libutzki <[email protected]>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AllOfFeatureExpression.Builder
Builds instances of typeAllOfFeatureExpression
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AllOfFeatureExpression
build(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<AllOfFeatureExpression.Builder> init)
Creates an immutable instance of AllOfFeatureExpression.AllOfFeatureExpression
copy(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<AllOfFeatureExpression.Builder> init)
Creates an immutable copy of this instance.boolean
equals(java.lang.Object obj)
java.util.Set<FeatureExpression>
getFeatureExpressions()
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getFeatureExpressions
public java.util.Set<FeatureExpression> getFeatureExpressions()
- Returns:
- The value of the
featureExpressions
attribute
-
equals
@Pure public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
@Pure public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
@Pure public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
build
public static AllOfFeatureExpression build(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<AllOfFeatureExpression.Builder> init)
Creates an immutable instance of AllOfFeatureExpression. The values can be initialized by using the init parameter.- Parameters:
init
- The initializer- Returns:
- An immutable AllOfFeatureExpression instance
- Throws:
java.lang.IllegalStateException
- if any required attributes are missing
-
copy
public AllOfFeatureExpression copy(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<AllOfFeatureExpression.Builder> init)
Creates an immutable copy of this instance. Uses accessors to get values to initialize the new immutable instance. The values can be modified by using the init parameter.- Parameters:
init
- The initializer- Returns:
- A copied immutable AllOfFeatureExpression instance
-
-