public class WaoActivationContext extends Object
sampleRowCode/2011_023/observationTypeName/PHONE_CALLThis object will allow you to do getSampleRowCode() (return "2011_023") and getObservationType (will return ObservationType.PHONE_CALL).
| Modifier and Type | Field and Description |
|---|---|
protected static String |
BOAT_IMMATRICULATION |
protected Integer |
boatImmatriculation |
protected static String |
OBSERVATION_TYPE_NAME |
protected ObservationType |
observationType |
protected static String |
SAMPLE_ROW_CODE |
protected static String |
SAMPLE_ROW_ID |
protected String |
sampleRowCode |
protected String |
sampleRowId |
protected static String |
SHIP_OWNER_NAME |
protected String |
shipOwnerName |
protected static List<String> |
VALID_KEYS |
| Constructor and Description |
|---|
WaoActivationContext() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getBoatImmatriculation() |
ObservationType |
getObservationType() |
String |
getSampleRowCode() |
String |
getSampleRowId() |
String |
getShipOwnerName() |
static WaoActivationContext |
newContextFromTapestry(org.apache.tapestry5.EventContext tapestryContext) |
static WaoActivationContext |
newEmptyContext() |
void |
setBoatImmatriculation(Integer boatImmatriculation) |
void |
setBoatImmatriculation(String boatImmatriculation) |
void |
setObservationType(ObservationType observationType) |
protected void |
setObservationType(String name) |
void |
setSampleRowCode(String sampleRowCode) |
void |
setSampleRowId(String sampleRowId) |
void |
setShipOwnerName(String shipOwnerName) |
String |
toString() |
String[] |
toStrings() |
protected static final String SAMPLE_ROW_CODE
protected static final String SAMPLE_ROW_ID
protected static final String OBSERVATION_TYPE_NAME
protected static final String BOAT_IMMATRICULATION
protected static final String SHIP_OWNER_NAME
protected String sampleRowCode
protected String sampleRowId
protected ObservationType observationType
protected Integer boatImmatriculation
protected String shipOwnerName
public static WaoActivationContext newEmptyContext()
public static WaoActivationContext newContextFromTapestry(org.apache.tapestry5.EventContext tapestryContext)
public String[] toStrings()
protected void setObservationType(String name)
public String getSampleRowCode()
public void setSampleRowCode(String sampleRowCode)
public String getSampleRowId()
public void setSampleRowId(String sampleRowId)
public ObservationType getObservationType()
public void setObservationType(ObservationType observationType)
public void setBoatImmatriculation(String boatImmatriculation)
public void setBoatImmatriculation(Integer boatImmatriculation)
public Integer getBoatImmatriculation()
public String getShipOwnerName()
public void setShipOwnerName(String shipOwnerName)
Copyright © 2009-2013 Ifremer. All Rights Reserved.