Package io.resys.hdes.client.api
Class ImmutableDeleteAstType
java.lang.Object
io.resys.hdes.client.api.ImmutableDeleteAstType
- All Implemented Interfaces:
HdesStore.DeleteAstType,Serializable
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class ImmutableDeleteAstType
extends Object
implements HdesStore.DeleteAstType
Immutable implementation of
HdesStore.DeleteAstType.
Use the builder to create immutable instances:
ImmutableDeleteAstType.builder().
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeImmutableDeleteAstType. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forImmutableDeleteAstType.static ImmutableDeleteAstTypecopyOf(HdesStore.DeleteAstType instance) Creates an immutable copy of aHdesStore.DeleteAstTypevalue.booleanThis instance is equal to all instances ofImmutableDeleteAstTypethat have equal attribute values.getId()inthashCode()Computes a hash code from attributes:id,bodyType.toString()Prints the immutable valueDeleteAstTypewith attribute values.final ImmutableDeleteAstTypewithBodyType(AstBody.AstBodyType value) Copy the current immutable object by setting a value for thebodyTypeattribute.final ImmutableDeleteAstTypeCopy the current immutable object by setting a value for theidattribute.
-
Method Details
-
getId
- Specified by:
getIdin interfaceHdesStore.DeleteAstType- Returns:
- The value of the
idattribute
-
getBodyType
- Specified by:
getBodyTypein interfaceHdesStore.DeleteAstType- Returns:
- The value of the
bodyTypeattribute
-
withId
Copy the current immutable object by setting a value for theidattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for id- Returns:
- A modified copy of the
thisobject
-
withBodyType
Copy the current immutable object by setting a value for thebodyTypeattribute. A value equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for bodyType- Returns:
- A modified copy of the
thisobject
-
equals
This instance is equal to all instances ofImmutableDeleteAstTypethat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:id,bodyType. -
toString
Prints the immutable valueDeleteAstTypewith attribute values. -
copyOf
Creates an immutable copy of aHdesStore.DeleteAstTypevalue. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance- The instance to copy- Returns:
- A copied immutable DeleteAstType instance
-
builder
Creates a builder forImmutableDeleteAstType.ImmutableDeleteAstType.builder() .id(String) // requiredid.bodyType(io.resys.hdes.client.api.ast.AstBody.AstBodyType) // requiredbodyType.build();- Returns:
- A new ImmutableDeleteAstType builder
-