Class _FieldShape

    • Method Detail

      • getGraphQlTypeName

        public String getGraphQlTypeName()
      • getName

        public String getName()
        The GraphQL name of the field.
      • getLabel

        public String getLabel()
        A display label for the field.
      • getDescription

        public String getDescription()
        A human-readable description of the field.
      • getDatatype

        public _Resource getDatatype()
        The declared datatype of the field or null if this is an object-valued field.
      • getDatatypes

        public List<_Resource> getDatatypes()
        Produces the individual datatypes if this field is based on a sh:or of multiple datatypes (indicated by having datatype rdfs:Literal), otherwise behaves like datatype introspection.
      • getEnumValues

        public List<_EnumValue> getEnumValues()
        For enumerated properties (based on sh:in) this produces an array for all members of the enumeration.
      • getExternalType

        public _Resource getExternalType()
        The external type if this is an object-valued field that points at a resource outside of the GraphQL schema.
      • getNode

        public String getNode()
        The URI of the sh:node constraint, defining additional filter conditions for auto-complete widgets.
      • getTypeShape

        public _TypeShape getTypeShape()
        The type shape of the field or null if this is a datatype-valued field or an external resource.
      • getScalar

        public Boolean getScalar()
        True if the GraphQL field is of a scalar type, i.e. does not have child selectors.
      • getSingleLine

        public Boolean getSingleLine()
        True or false if the property shape has a dash:singleLine constraint, or null if none has been declared, meaning "don't know".
      • getUnionTypeNames

        public List<String> getUnionTypeNames()
        The GraphQL names of the individual types if this field is a union type.
      • getMinCount

        public Integer getMinCount()
        The minimum required number of values of the field, defaulting to 0.
      • getMaxCount

        public Integer getMaxCount()
        The maximum permitted number of values of the field (if any).
      • getMin

        public String getMin()
        The minimum value of the field, if specified.
      • getMax

        public String getMax()
        The maximum value of the field, if specified.
      • getIsMinExclusive

        public Boolean getIsMinExclusive()
        True if the value of min should be interpreted as > and not >=
      • getIsMaxExclusive

        public Boolean getIsMaxExclusive()
        True if the value of max should be interpreted as < and not <=
      • getMinLength

        public Integer getMinLength()
        The minimum string length of values of the field, defaulting to 0.
      • getMaxLength

        public Integer getMaxLength()
        The maximum string length of values of the field (if any).
      • getNodeKind

        public _Resource getNodeKind()
        The declared sh:nodeKind of the field, e.g. sh:IRI.
      • getPattern

        public String getPattern()
        The regular expression that the values of the field must match.
      • getGroup

        public _FieldGroup getGroup()
        The field group that the field is in.
      • getOrder

        public Double getOrder()
        A number representing the relative ordering of this field compared to others. Defaults to 0.
      • getRole

        public String getRole()
        The URI of the property role, or null.
      • getEditor

        public _Resource getEditor()
        The specified dash:editor, or null.
      • getViewWidget

        public String getViewWidget()
        The URI of the specified tosh:viewWidget, or null.
      • getViewer

        public _Resource getViewer()
        The specified dash:viewer, or null.
      • getPath

        public _Path getPath()
        The sh:path that the field is about
      • getDefaultValue

        public String getDefaultValue()
        Returns a non-empty string (encoded RDF node) if this field has a sh:defaultValue, null otherwise.
      • getIsHidden

        public Boolean getIsHidden()
        True if this field should be hidden from user interfaces.
      • getIsIndexed

        public Boolean getIsIndexed()
        True if this field is indexed, i.e. its values are sorted and a UI should maintain index order from 0 to n.
      • getIsInferred

        public Boolean getIsInferred()
        True if this is an inferred field, the values of which are derived or computed from other values. Inferred fields are not mutable.
      • getIsList

        public Boolean getIsList()
        True if this is an rdf:List field.
      • getReadOnly

        public Boolean getReadOnly()
        True if this field has been marked to be read-only using dash:readOnly.
      • getReifiableBy

        public String getReifiableBy()
        The URI of the specified dash:reifiableBy, or null.
      • getUriStart

        public String getUriStart()
        The start of URIs used by all instances where this property applies as primary key, as specified using dash:uriStart.