Package com.agiletec.aps.system.common.entity.model.attribute

Examples of com.agiletec.aps.system.common.entity.model.attribute.EnumeratorAttribute


      if(JpaddressbookSystemConstants.ATTRIBUTE_TYPE_DATE.equals(attributeType)){
        DateAttribute dateAttribute = (DateAttribute) attribute;
        attributeValue = dateAttribute.getFormattedDate("dd/MM/yyyy");
      }
      if(JpaddressbookSystemConstants.ATTRIBUTE_TYPE_ENUMERATOR.equals(attributeType)){
        EnumeratorAttribute textAttribute = (EnumeratorAttribute) attribute;
        attributeValue = textAttribute.getText();
      }
      if(JpaddressbookSystemConstants.ATTRIBUTE_TYPE_HYPERTEXT.equals(attributeType)){
        HypertextAttribute hyperTextAttribute = (HypertextAttribute)attribute;
        attributeValue = hyperTextAttribute.getText();
      }
      if(JpaddressbookSystemConstants.ATTRIBUTE_TYPE_LONGTEXT.equals(attributeType)){
        TextAttribute textAttribute = (TextAttribute) attribute;
        attributeValue = textAttribute.getText();
      }
      if(JpaddressbookSystemConstants.ATTRIBUTE_TYPE_MONOTEXT.equals(attributeType)){
        MonoTextAttribute mono = (MonoTextAttribute) attribute;
        attributeValue = mono.getText();
      }
      if(JpaddressbookSystemConstants.ATTRIBUTE_TYPE_NUMBER.equals(attributeType)){
        NumberAttribute numberattribute = (NumberAttribute) attribute;
        attributeValue = numberattribute.getNumber();
      }
      if(JpaddressbookSystemConstants.ATTRIBUTE_TYPE_TEXT.equals(attributeType)){
        TextAttribute textAttribute = (TextAttribute) attribute;
        attributeValue = textAttribute.getText();
      }
    }
    return attributeValue;
  }
View Full Code Here

TOP

Related Classes of com.agiletec.aps.system.common.entity.model.attribute.EnumeratorAttribute

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.