Class ExpressionHelper.AttributeMetadata

java.lang.Object
nz.org.riskscape.wizard.ExpressionHelper.AttributeMetadata
Enclosing class:
ExpressionHelper

public static class ExpressionHelper.AttributeMetadata extends Object

Represents an attribute (member) of the context struct that could be referenced in an expression.

  • Constructor Details

    • AttributeMetadata

      public AttributeMetadata(List<nz.org.riskscape.engine.types.Struct.StructMember> memberHierarchy)
  • Method Details

    • getName

      public String getName()
      Returns:
      the short-form version of the attribute name, e.g. 'geom'
    • getFullyQualifiedName

      public String getFullyQualifiedName()
      Returns:
      the qualified path to the attribute, e.g. 'hazards.sampled.geom'
    • getType

      public nz.org.riskscape.engine.types.Type getType()
      Returns:
      the Type of the attribute
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object