Package heart.alsvfd

Examples of heart.alsvfd.Null


   *
   * @param attribute an attribute to be registered
   */
  public void registerAttribute(Attribute attribute){
    try {
      registeredAttributes.put(attribute.getName(), new AVEntry(attribute, new Null()));
    } catch (NotInTheDomainException e) {
      // This will not happend, as the Null ca always be assigned as an attribute value
    }
  }
View Full Code Here


  public Value getAttributeValue(String attributeName){
    AVEntry ave = registeredAttributes.get(attributeName);
    if(ave != null){
      return ave.getValue();
    }else{
      return new Null();
    }
  }
View Full Code Here

  public Value getAttributeValue(Attribute attr){
    AVEntry ave = registeredAttributes.get(attr.getName());
    if(ave != null){
      return ave.getValue();
    }else{
      return new Null();
    }
  }
View Full Code Here

    for(StateElement se : stateElements){
      if(se.getAttributeName().equals(name)){
        return se.getValue();
      }
    }
    return new Null();
  }
View Full Code Here

TOP

Related Classes of heart.alsvfd.Null

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.