Class Association
java.lang.Object
ecmwf.common.database.DataBaseObject
ecmwf.common.database.Association
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
The aso priority.protected String
The des name.protected Destination
The destination.protected int
The hos name.protected Host
The host.Fields inherited from class ecmwf.common.database.DataBaseObject
collectionSize, TAG_ACROSS_MULTIPLE_LINES, TAG_END_OF_LINES
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new association.Association
(String destinationName, String hostName) Instantiates a new association. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals.Gets the destination.Gets the destination name.getHost()
Gets the host.Gets the host name.int
Gets the priority.int
hashCode()
Hash code.void
setDestination
(Destination param) Sets the destination.void
setDestinationName
(String param) Sets the destination name.void
Sets the host.void
setHostName
(String param) Sets the host name.void
setPriority
(int param) Sets the priority.void
setPriority
(String param) Sets the priority.Methods inherited from class ecmwf.common.database.DataBaseObject
bigDecimalToTimestamp, clone, compare, compare, getCollectionSize, integerToInt, integerToString, setCollectionSize, strim, stringToInteger, stringToLong, stringToString, timestampToBigDecimal, toString, toString, toString, toString
-
Field Details
-
ASO_PRIORITY
protected int ASO_PRIORITYThe aso priority. -
DES_NAME
The des name. -
HOS_NAME
protected int HOS_NAMEThe hos name. -
host
The host. -
destination
The destination.
-
-
Constructor Details
-
Association
public Association()Instantiates a new association. -
Association
-
-
Method Details
-
getPriority
public int getPriority()Gets the priority.- Returns:
- the priority
-
setPriority
public void setPriority(int param) Sets the priority.- Parameters:
param
- the new priority
-
setPriority
-
getDestinationName
-
setDestinationName
Sets the destination name.- Parameters:
param
- the new destination name
-
getHostName
-
setHostName
-
getHost
-
setHost
-
getDestination
-
setDestination
Sets the destination.- Parameters:
param
- the new destination
-
hashCode
-
equals
-