public class Slot extends Object
A Slot
represents a placeholder in a record type. A slot has a label, which
is simply a string a type handle that constraints the
type of the value it can hold. Note that this class does not hold actual slot values.
Rather, it is a descriptor of a record slot instances. A RecordType
is defined
simply as a set of Slot
s.
Constructor and Description |
---|
Slot() |
Slot(String label,
HGHandle valueType) |
public String getLabel()
public void setLabel(String label)
label
- The label to set.public HGHandle getValueType()
public void setValueType(HGHandle valueType)
valueType
- The valueType to set.Copyright © 2015. All rights reserved.