public class PipelineField extends Object
Constructor and Description |
---|
PipelineField() |
PipelineField(PipelineField another) |
PipelineField(String name,
Object value) |
PipelineField(String name,
Object value,
List<Annotation> annotations) |
PipelineField(String name,
Object value,
Map<String,String> metadata) |
PipelineField(String name,
Object value,
Map<String,String> metadata,
List<Annotation> annotations) |
PipelineField(String name,
Object value,
String... meta) |
Modifier and Type | Method and Description |
---|---|
PipelineField |
addAnnotation(Annotation annotation) |
PipelineField |
addAnnotations(Collection<Annotation> annotations) |
PipelineField |
addMetadata(String name,
String value) |
AnnotatedText |
asAnnotatedText()
Return text and annotations as
AnnotatedText instance. |
boolean |
equals(Object o) |
Annotation |
getAnnotation(int index) |
List<Annotation> |
getAnnotations() |
int |
getAnnotationsSize() |
Map<String,String> |
getMetadata() |
String |
getMetadata(String name) |
Set<String> |
getMetadataNames() |
String |
getName() |
Object |
getValue() |
int |
hashCode() |
boolean |
hasMetadata(String name) |
PipelineField |
removeAnnotation(int index) |
PipelineField |
removeMetadata(String name) |
PipelineField |
setAnnotations(List<Annotation> annotations) |
PipelineField |
setMetadata(Map<String,String> metadata) |
PipelineField |
setName(String name) |
PipelineField |
setValue(Object value) |
String |
toString() |
public static final String CREATOR
public PipelineField()
public PipelineField(String name, Object value, List<Annotation> annotations)
public PipelineField(PipelineField another)
public boolean hasMetadata(String name)
public List<Annotation> getAnnotations()
public Annotation getAnnotation(int index)
public int getAnnotationsSize()
public PipelineField setMetadata(Map<String,String> metadata)
public PipelineField addMetadata(String name, String value)
public PipelineField removeMetadata(String name)
public PipelineField setAnnotations(List<Annotation> annotations)
public PipelineField addAnnotation(Annotation annotation)
public PipelineField addAnnotations(Collection<Annotation> annotations)
public PipelineField removeAnnotation(int index)
public Object getValue()
public PipelineField setValue(Object value)
public String getName()
public PipelineField setName(String name)
public AnnotatedText asAnnotatedText()
AnnotatedText
instance.
AnnotatedText
is a container object with convenience methods for
accessing annotations.