Ejemplo n.º 1
0
 /** Undefine the position property. */
 public void undefinePosition() {
   positionID.undefine();
 }
Ejemplo n.º 2
0
 /**
  * Get the ID of position of this blockade.
  *
  * @return The position.
  */
 @Override
 public Road getPosition() {
   return position == null
       ? position = (Road) standardModel().getEntity(positionID.getValue())
       : position;
 }
Ejemplo n.º 3
0
 /**
  * Find out if the position property has been defined.
  *
  * @return True if the position property has been defined, false otherwise.
  */
 public boolean isPositionDefined() {
   return positionID.isDefined();
 }
Ejemplo n.º 4
0
 /**
  * Get the ID of position of this blockade.
  *
  * @return The position.
  */
 public EntityID getPositionID() {
   return positionID.getValue();
 }