Class Association
java.lang.Object
ecmwf.common.database.DataBaseObject
ecmwf.common.database.Association
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intThe aso priority.protected StringThe des name.protected DestinationThe destination.protected intThe hos name.protected HostThe 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 TypeMethodDescriptionbooleanEquals.Gets the destination.Gets the destination name.getHost()Gets the host.Gets the host name.intGets the priority.inthashCode()Hash code.voidsetDestination(Destination param) Sets the destination.voidsetDestinationName(String param) Sets the destination name.voidSets the host.voidsetHostName(String param) Sets the host name.voidsetPriority(int param) Sets the priority.voidsetPriority(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
-