public class SosOffering extends AbstractFeature implements Comparable<SosOffering>
Modifier and Type | Field and Description |
---|---|
private static String |
OFFERING_NAME_PREFIX |
private boolean |
parentOffering
flag to identify offering as offering from a parent procedure, default =
false.
|
private static long |
serialVersionUID |
Constructor and Description |
---|
SosOffering(String procedureIdentifier)
constructor with procedure identifier
|
SosOffering(String identifier,
boolean generateName)
constructor
|
SosOffering(String identifier,
CodeType name) |
SosOffering(String identifier,
String name)
constructor
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SosOffering o) |
boolean |
equals(Object o) |
static SosOffering |
from(SweAbstractSimpleType<?> type)
Creates a set of SosOfferings from a map containing
identifiers as keys and names as values.
|
static Set<SosOffering> |
fromMap(Map<String,String> map)
Creates a set of SosOfferings from a map containing
identifiers as keys and names as values.
|
static Set<SosOffering> |
fromSet(Set<SweAbstractSimpleType<?>> set)
Creates a set of SosOfferings from a map containing
identifiers as keys and names as values.
|
String |
getOfferingIdentifier()
Deprecated.
|
String |
getOfferingName()
Get offering name
|
int |
hashCode() |
boolean |
isParentOffering() |
boolean |
isSetOfferingIdentifier()
Deprecated.
|
boolean |
isSetOfferingName()
Deprecated.
|
void |
setOfferingIdentifier(String offeringIdentifier)
Deprecated.
|
void |
setOfferingName(String offeringName)
Deprecated.
|
void |
setParentOfferingFlag(boolean parentOfferingFlag)
Set if offering is from parent procedure or not
|
String |
toString() |
copyTo, getDefaultElementEncoding, isSetDefaultElementEncoding, setDefaultElementEncoding
addName, addName, addName, copyTo, getDescription, getFirstName, getGmlId, getHumanReadableIdentifier, getHumanReadableIdentifierCodeWithAuthority, getIdentifier, getIdentifierCodeWithAuthority, getName, isReferenced, isSetDescription, isSetGmlID, isSetHumanReadableIdentifier, isSetIdentifier, isSetName, setDescription, setGmlId, setHumanReadableIdentifier, setHumanReadableIdentifier, setHumanReadableIdentifierAsIdentifier, setIdentifier, setIdentifier, setName, setName
private static final long serialVersionUID
private boolean parentOffering
private static final String OFFERING_NAME_PREFIX
public SosOffering(String identifier, String name)
identifier
- offering identifiername
- offering namepublic SosOffering(String identifier, boolean generateName)
identifier
- offering identifiername
- offering namepublic SosOffering(String procedureIdentifier)
procedureIdentifier
- Procedure identifier@Deprecated public String getOfferingIdentifier()
@Deprecated public void setOfferingIdentifier(String offeringIdentifier)
offeringIdentifier
- The identifier to set.public String getOfferingName()
@Deprecated public void setOfferingName(String offeringName)
offeringName
- The name to set.@Deprecated public boolean isSetOfferingIdentifier()
@Deprecated public boolean isSetOfferingName()
public void setParentOfferingFlag(boolean parentOfferingFlag)
parentOfferingFlag
- Offering is from parent procedure or notpublic boolean isParentOffering()
public int compareTo(SosOffering o)
compareTo
in interface Comparable<SosOffering>
public boolean equals(Object o)
equals
in class AbstractGML
public int hashCode()
hashCode
in class AbstractGML
public static Set<SosOffering> fromMap(Map<String,String> map)
map
- the map (may be null)public static Set<SosOffering> fromSet(Set<SweAbstractSimpleType<?>> set)
map
- the map (may be null)public static SosOffering from(SweAbstractSimpleType<?> type)
map
- the map (may be null)Copyright © 2012-2015 52north.org. All Rights Reserved.