Class MetadataField

java.lang.Object
nl.knaw.dans.lib.dataverse.model.dataset.MetadataField
Direct Known Subclasses:
CompoundMultiValueField, CompoundSingleValueField, ControlledMultiValueField, ControlledSingleValueField, PrimitiveMultiValueField, PrimitiveSingleValueField

public abstract class MetadataField extends Object
  • Constructor Details

    • MetadataField

      public MetadataField(String typeClass, String typeName, boolean multiple)
    • MetadataField

      public MetadataField()
  • Method Details

    • getTypeClass

      public String getTypeClass()
    • getTypeName

      public String getTypeName()
    • isMultiple

      public boolean isMultiple()
    • setTypeClass

      public void setTypeClass(String typeClass)
    • setTypeName

      public void setTypeName(String typeName)
    • setMultiple

      public void setMultiple(boolean multiple)
    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object