public abstract class Unit extends Object implements Serializable, Comparable<Unit>
Modifier and Type | Class and Description |
---|---|
static class |
Unit.Factory
Constructs new instances of
Unit . |
Constructor and Description |
---|
Unit() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Unit o) |
boolean |
equals(Object object)
Returns
true if the argument is an Unit instance and all identifiers for this entity
equal the identifiers of the argument entity. |
Date |
getCreationDate() |
Integer |
getId()
Idenfiant interne.
|
String |
getName() |
Status |
getStatus()
Pour les données du référentiel, information permettant de déterminer si une donnée est
valide,
obsolète ou temporaire
|
String |
getSymbol() |
Timestamp |
getUpdateDate() |
int |
hashCode()
Returns a hash code based on this entity's identifiers.
|
void |
setCreationDate(Date creationDateIn) |
void |
setId(Integer idIn)
Idenfiant interne.
|
void |
setName(String nameIn) |
void |
setStatus(Status statusIn)
Pour les données du référentiel, information permettant de déterminer si une donnée est
valide,
obsolète ou temporaire
|
void |
setSymbol(String symbolIn) |
void |
setUpdateDate(Timestamp updateDateIn) |
public Unit()
public void setId(Integer idIn)
idIn
- Integerpublic Date getCreationDate()
public void setCreationDate(Date creationDateIn)
creationDateIn
- Datepublic Timestamp getUpdateDate()
public void setUpdateDate(Timestamp updateDateIn)
updateDateIn
- Timestamppublic Status getStatus()
public void setStatus(Status statusIn)
statusIn
- Statuspublic boolean equals(Object object)
true
if the argument is an Unit instance and all identifiers for this entity
equal the identifiers of the argument entity. Returns false
otherwise.public int hashCode()
public int compareTo(Unit o)
compareTo
in interface Comparable<Unit>
Comparable.compareTo(T)
Copyright © 2012–2014 IFREMER. All rights reserved.