Package org.geomajas.configuration

Examples of org.geomajas.configuration.PrimitiveType


              default:
                throw new LayerException(ExceptionCode.UNEXPECTED_PROBLEM,
                    "Coding error, not all AssociationType options are covered");
            }
          } else {
            PrimitiveType type = ((PrimitiveAttributeInfo) attribute).getType();
            value = new LazyPrimitiveAttribute(type, featureModel, featureBean, name);
          }
        } else {
          value = featureModel.getAttribute(featureBean, name);
        }
View Full Code Here


  private String toComparison(ComparisonOpsTypeInfo coOps, FeatureInfo featureInfo) {
    if (coOps instanceof BinaryComparisonOpTypeInfo) {
      BinaryComparisonOpTypeInfo binary = (BinaryComparisonOpTypeInfo) coOps;
      String propertyName = binary.getExpressionList().get(0).getValue();
      String propertyValue = binary.getExpressionList().get(1).getValue();
      PrimitiveType type = PrimitiveType.STRING;
      for (AttributeInfo attributeInfo : featureInfo.getAttributes()) {
        if (attributeInfo.getName().equals(propertyName)) {
          if (attributeInfo instanceof PrimitiveAttributeInfo) {
            type = ((PrimitiveAttributeInfo) attributeInfo).getType();
          }
View Full Code Here

TOP

Related Classes of org.geomajas.configuration.PrimitiveType

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.