fr.ifremer.allegro.technical.optimization.location
Class LocationHierarchy

java.lang.Object
  extended by fr.ifremer.allegro.technical.optimization.location.LocationHierarchy
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
LocationHierarchyImpl

public abstract class LocationHierarchy
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Nested Class Summary
static class LocationHierarchy.Factory
          Constructs new instances of LocationHierarchy.
 
Constructor Summary
LocationHierarchy()
           
 
Method Summary
 boolean equals(java.lang.Object object)
          Returns true if the argument is an LocationHierarchy instance and all identifiers for this entity equal the identifiers of the argument entity.
 java.lang.Float getChildSurfaceRatio()
           Ratio de couverture (en surface) du lieu fils par rapport au lieu p??re.
 LocationHierarchyPK getLocationHierarchyPk()
           
 int hashCode()
          Returns a hash code based on this entity's identifiers.
 void setChildSurfaceRatio(java.lang.Float childSurfaceRatio)
           
 void setLocationHierarchyPk(LocationHierarchyPK locationHierarchyPk)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocationHierarchy

public LocationHierarchy()
Method Detail

getLocationHierarchyPk

public LocationHierarchyPK getLocationHierarchyPk()

setLocationHierarchyPk

public void setLocationHierarchyPk(LocationHierarchyPK locationHierarchyPk)

getChildSurfaceRatio

public java.lang.Float getChildSurfaceRatio()

Ratio de couverture (en surface) du lieu fils par rapport au lieu p??re. La valeur doit etre sup??rieure strictement ?? 0 et inf??rieur ou ??gale ?? 1.

D??duit ?? partir de la valeur de LocationAssociation.childSurfaceRatio, selon un algorithme de parcours d'arbre (cf procedure stock??e P_FILL_LOCATION_HIERARCHY)


setChildSurfaceRatio

public void setChildSurfaceRatio(java.lang.Float childSurfaceRatio)

hashCode

public int hashCode()
Returns a hash code based on this entity's identifiers.

Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object object)
Returns true if the argument is an LocationHierarchy instance and all identifiers for this entity equal the identifiers of the argument entity. Returns false otherwise.

Overrides:
equals in class java.lang.Object


Copyright © 2008-2010 IFREMER. All Rights Reserved.