Package io.stargate.sdk.rest.domain
Class ColumnDefinition
java.lang.Object
io.stargate.sdk.rest.domain.ColumnDefinition
- All Implemented Interfaces:
Serializable
Work with the column.
- Author:
- Cedrick LUNVEN (@clunven)
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault ConstructorColumnDefinition(String name, String type) Constructor.ColumnDefinition(String name, String type, Boolean isStatic) Full constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetName()Getter accessor for attribute 'name'.Getter accessor for attribute 'typeDefinition'.isStatic()Getter accessor for attribute 'isStatic'.voidSetter accessor for attribute 'name'.voidSetter accessor for attribute 'isStatic'.voidsetTypeDefinition(String typeDefinition) Setter accessor for attribute 'typeDefinition'.
-
Field Details
-
name
Unique identifier in the class. -
typeDefinition
Type Definition if static. -
isStatic
Check if value is static.
-
-
Constructor Details
-
ColumnDefinition
public ColumnDefinition()Default Constructor -
ColumnDefinition
Full constructor.- Parameters:
name- column identifiertype- type as a stringisStatic- static columns
-
ColumnDefinition
Constructor.- Parameters:
name- current name.type- current type
-
-
Method Details
-
getName
Getter accessor for attribute 'name'.- Returns:
- current value of 'name'
-
setName
Setter accessor for attribute 'name'.- Parameters:
name- new value for 'name '
-
getTypeDefinition
Getter accessor for attribute 'typeDefinition'.- Returns:
- current value of 'typeDefinition'
-
setTypeDefinition
Setter accessor for attribute 'typeDefinition'.- Parameters:
typeDefinition- new value for 'typeDefinition '
-
isStatic
Getter accessor for attribute 'isStatic'.- Returns:
- current value of 'isStatic'
-
setStatic
Setter accessor for attribute 'isStatic'.- Parameters:
isStatic- new value for 'isStatic '
-