Class EmptyCompositeType
- java.lang.Object
-
- de.tudresden.inf.lat.tabulas.table.EmptyCompositeType
-
- All Implemented Interfaces:
CompositeType
,DataType
,Serializable
,scala.Equals
,scala.Product
public class EmptyCompositeType extends Object implements CompositeType, scala.Product, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EmptyCompositeType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description scala.collection.immutable.Seq<String>
getFields()
Returns all the fields.scala.Option<String>
getFieldType(String field)
Returns an optional containing the type of the given field, if the field is present, or an empty optional otherwise.
-
-
-
Method Detail
-
getFields
public scala.collection.immutable.Seq<String> getFields()
Description copied from interface:CompositeType
Returns all the fields.- Specified by:
getFields
in interfaceCompositeType
- Returns:
- all the fields
-
getFieldType
public scala.Option<String> getFieldType(String field)
Description copied from interface:CompositeType
Returns an optional containing the type of the given field, if the field is present, or an empty optional otherwise.- Specified by:
getFieldType
in interfaceCompositeType
- Parameters:
field
- field- Returns:
- an optional containing the type of the given field, if the field is present, or an empty optional otherwise
-
-