public abstract class ParameterOutput extends Object implements CollatorComparable<ParameterOutput>, RawFormats
RAW_FORMAT| Constructor and Description |
|---|
ParameterOutput() |
| Modifier and Type | Method and Description |
|---|---|
void |
addExtra(String extra) |
void |
addRawFormat(String format) |
int |
compare(Collator collator,
ParameterOutput o)
Compares natural ordering of this instance to another.
|
static <T extends ParameterOutput> |
defaultComparator()
Takes the labels to compare.
|
boolean |
equals(Object obj) |
String |
getDomainId()
Returns the domain id of the parameter, e.g.
|
String[] |
getExtras() |
String |
getHref() |
String |
getHrefBase() |
String |
getId() |
String |
getLabel() |
String |
getLicense()
Deprecated.
|
String[] |
getRawFormats() |
int |
hashCode() |
boolean |
isSetDomainId()
Check if the domainId is set and not empty
|
void |
setDomainId(String domainId)
Sets the domain id of the parameter, e.g.
|
void |
setHref(String href) |
void |
setHrefBase(String hrefBase) |
void |
setId(String id) |
void |
setLabel(String label) |
void |
setLicense(String license)
Deprecated.
|
void |
setRawFormats(Collection<String> formats) |
public String getId()
public void setId(String id)
public String getHref()
public void setHref(String href)
public void setHrefBase(String hrefBase)
public String getHrefBase()
public String getDomainId()
public void setDomainId(String domainId)
domainId - the domain id of the parameter.public boolean isSetDomainId()
true if domainId is set and not emptypublic String getLabel()
public void setLabel(String label)
@Deprecated public String getLicense()
@Deprecated public void setLicense(String license)
public String[] getExtras()
public void addExtra(String extra)
public void addRawFormat(String format)
addRawFormat in interface RawFormatsformat - the rawFormat to addpublic String[] getRawFormats()
getRawFormats in interface RawFormatspublic void setRawFormats(Collection<String> formats)
setRawFormats in interface RawFormatsformats - the rawFormats to setpublic int compare(Collator collator, ParameterOutput o)
CollatorComparableComparable interface but indicates ordering locale dependend by
means of a Collator.compare in interface CollatorComparable<ParameterOutput>collator - a collator used to compare. If null a
collator is created dependend on the default locale.o - the object to compared.Collatorpublic static <T extends ParameterOutput> Comparator<T> defaultComparator()
T - the actual type.ComparatorCopyright © 2013–2017 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.