Class FieldDefinitionImpl

    • Field Detail

      • schema

        protected String schema
      • field

        protected String field
    • Constructor Detail

      • FieldDefinitionImpl

        protected FieldDefinitionImpl()
      • FieldDefinitionImpl

        public FieldDefinitionImpl​(String schema,
                                   String field)
    • Method Detail

      • getSchemaName

        public String getSchemaName()
        Description copied from interface: FieldDefinition
        Optional schema name.

        If the field is used to identify a sub field within a complex type, no schema name is needed. Otherwise, the field will not be resolved correctly if the property does not have a prefix.

        Specified by:
        getSchemaName in interface FieldDefinition
      • getFieldName

        public String getFieldName()
        Description copied from interface: FieldDefinition
        Returns the field name, following XPath conventions.

        If the field is prefixed, it should contain the prefix followed by ':'. Examples: dc:title, dc:author/name

        Specified by:
        getFieldName in interface FieldDefinition
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class Object
        Since:
        7.2