Class Property

java.lang.Object
com.semedy.reasoner.parser.graphql.Property

public class Property extends Object
describes a property of a graph ql output pattern
Author:
angele
  • Constructor Details

    • Property

      public Property(String name, String var, boolean inc)
    • Property

      public Property(String name, Object val)
  • Method Details

    • setInclude

      public void setInclude(boolean b)
    • setIsArray

      public void setIsArray()
    • isArray

      public boolean isArray()
    • setIsSet

      public void setIsSet()
    • isSet

      public boolean isSet()
    • setValue

      public void setValue(Object val)
    • setVariable

      public void setVariable(String var)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object p)
      Overrides:
      equals in class Object
    • getValue

      public Object getValue()
      get the value of the property
      Returns:
    • getVariable

      public String getVariable()
      get the variable of the property for querying
      Returns:
    • getAlias

      public String getAlias()
      get the alias of the property
      Returns:
    • getType

      public String getType()
      get the type (class) of the property
      Returns:
    • getName

      public String getName()
      get the name of the property
      Returns:
    • isIncluded

      public boolean isIncluded()
      should property be included in the output
      Returns: