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 throughRTXWriter
orRTXMetadata
rather than doing so through theRTXColumn(String, RTXType)
constructor.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected RTXMetadata
metadata
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
assertColumnsCompatible(RTXColumn anotherColumn)
String
getDescription()
int
getIndex()
RTXMetadata
getMetadata()
String
getName()
RTXType
getType()
boolean
isReadOnly()
void
setDescription(String newValue)
void
setName(String newValue)
void
setType(RTXType newValue)
String
toString()
-
-
-
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()
-
-