Package com.redwood.scheduler.api.rtx
Class RTXColumn<T>
- java.lang.Object
-
- com.redwood.scheduler.api.rtx.RTXColumn<T>
-
- Type Parameters:
T- the column's Java Type.
- All Implemented Interfaces:
Serializable
public class RTXColumn<T> extends Object implements Serializable
Definition of a column, you should create columns throughRTXWriterorRTXMetadatarather than doing so through theRTXColumn(String, RTXType)constructor.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected RTXMetadatametadata
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidassertColumnsCompatible(RTXColumn anotherColumn)StringgetDescription()intgetIndex()RTXMetadatagetMetadata()StringgetName()RTXTypegetType()booleanisReadOnly()voidsetDescription(String newValue)voidsetName(String newValue)voidsetType(RTXType newValue)StringtoString()
-
-
-
Field Detail
-
metadata
protected RTXMetadata metadata
-
-
Method Detail
-
getName
public String getName()
-
getDescription
public String getDescription()
-
getType
public RTXType getType()
-
getIndex
public int getIndex()
-
setName
public void setName(String newValue)
-
setDescription
public void setDescription(String newValue)
-
setType
public void setType(RTXType newValue)
-
assertColumnsCompatible
public void assertColumnsCompatible(RTXColumn anotherColumn) throws RTXIncompatibleColumnException
- Throws:
RTXIncompatibleColumnException
-
getMetadata
public RTXMetadata getMetadata()
-
isReadOnly
public boolean isReadOnly()
-
-