public class AbstractPhenomenon extends Object implements Comparable<AbstractPhenomenon>, Serializable
Modifier and Type | Field and Description |
---|---|
private String |
description
phenomenon description
|
private String |
identifier
phenomenon identifier
|
private static long |
serialVersionUID
serial number
|
Constructor and Description |
---|
AbstractPhenomenon(String identifier)
constructor
|
AbstractPhenomenon(String identifier,
String description)
constructor
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(AbstractPhenomenon o) |
boolean |
equals(Object paramObject) |
String |
getDescription()
Get phenomenon description
|
String |
getIdentifier()
Get phenomenon identifier
|
int |
hashCode() |
boolean |
isSetDescription()
Check whether description is set
|
boolean |
isSetIdentifier()
Check whether identifier is set
|
void |
setDescription(String description)
Set phenomenon description
|
void |
setIdentifier(String identifier)
Set phenomenon identifier
|
String |
toString() |
private static final long serialVersionUID
private String identifier
private String description
public AbstractPhenomenon(String identifier)
identifier
- Phenomenon identifierpublic String getIdentifier()
public void setIdentifier(String identifier)
identifier
- the identifier to setpublic boolean isSetIdentifier()
true
, if identifier is setpublic String getDescription()
public void setDescription(String description)
description
- the description to setpublic boolean isSetDescription()
true
, if description is setpublic int compareTo(AbstractPhenomenon o)
compareTo
in interface Comparable<AbstractPhenomenon>
Copyright © 2012-2014 52north.org. All Rights Reserved.