Class NotFeatureExpression
- java.lang.Object
-
- de.bmiag.tapir.variant.feature.expression.NotFeatureExpression
-
- All Implemented Interfaces:
FeatureExpression
public final class NotFeatureExpression extends java.lang.Object implements FeatureExpression
Negates the result of the givenFeatureExpression
.- Since:
- 2.0.0
- Author:
- Oliver Libutzki <[email protected]>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NotFeatureExpression.Builder
Builds instances of typeNotFeatureExpression
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NotFeatureExpression
build(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<NotFeatureExpression.Builder> init)
Creates an immutable instance of NotFeatureExpression.NotFeatureExpression
copy(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<NotFeatureExpression.Builder> init)
Creates an immutable copy of this instance.boolean
equals(java.lang.Object obj)
FeatureExpression
getFeatureExpression()
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getFeatureExpression
public FeatureExpression getFeatureExpression()
- Returns:
- The value of the
featureExpression
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 NotFeatureExpression build(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<NotFeatureExpression.Builder> init)
Creates an immutable instance of NotFeatureExpression. The values can be initialized by using the init parameter.- Parameters:
init
- The initializer- Returns:
- An immutable NotFeatureExpression instance
- Throws:
java.lang.IllegalStateException
- if any required attributes are missing
-
copy
public NotFeatureExpression copy(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<NotFeatureExpression.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 NotFeatureExpression instance
-
-