public class AggregationEntry extends Object implements IAggregationEntry, ITransformableAggregationEntry
Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Optional<Aggregation> |
parent |
Modifier | Constructor and Description |
---|---|
protected |
AggregationEntry(info.textgrid.namespaces.metadata.core._2010.ObjectType metadata) |
|
AggregationEntry(info.textgrid.namespaces.metadata.core._2010.ObjectType metadata,
Aggregation parent) |
Modifier and Type | Method and Description |
---|---|
String |
getFinalFormat()
Returns the final format of the entry, after optional transformation.
|
String |
getFormat() |
info.textgrid.namespaces.metadata.core._2010.ObjectType |
getMetadata() |
com.google.common.base.Optional<Aggregation> |
getParent() |
URI |
getTextGridURI() |
void |
setTransformedFormat(String format)
Set the format that the entry would have after transformation.
|
String |
toString() |
protected final com.google.common.base.Optional<Aggregation> parent
protected AggregationEntry(info.textgrid.namespaces.metadata.core._2010.ObjectType metadata)
public AggregationEntry(info.textgrid.namespaces.metadata.core._2010.ObjectType metadata, Aggregation parent)
public com.google.common.base.Optional<Aggregation> getParent()
getParent
in interface IAggregationEntry
public info.textgrid.namespaces.metadata.core._2010.ObjectType getMetadata()
getMetadata
in interface IAggregationEntry
public String getFormat()
public String getFinalFormat()
ITransformableAggregationEntry
ITransformableAggregationEntry.setTransformedFormat(String)
if that has been called before or
the original format from the entry's metadata otherwise.getFinalFormat
in interface ITransformableAggregationEntry
public void setTransformedFormat(String format)
ITransformableAggregationEntry
setTransformedFormat
in interface ITransformableAggregationEntry
public URI getTextGridURI()
getTextGridURI
in interface IAggregationEntry
Copyright © 2017 TextGrid. All rights reserved.