Class IdentifierType
- java.lang.Object
-
- de.digitalcollections.model.identifiable.IdentifierType
-
public class IdentifierType extends Object
Defines an identifier type to be used in the system implementing this library. It is up to the implementor to add all relevant identifier types to his system. Each IdentifierType can be described by a label, a namespace (describing the system) and a regex pattern for validating identifiers.
-
-
Constructor Summary
Constructors Constructor Description IdentifierType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLabel()StringgetNamespace()StringgetPattern()UUIDgetUuid()voidsetLabel(String label)voidsetNamespace(String namespace)voidsetPattern(String pattern)voidsetUuid(UUID uuid)
-
-
-
Method Detail
-
getLabel
public String getLabel()
-
getNamespace
public String getNamespace()
-
getPattern
public String getPattern()
-
getUuid
public UUID getUuid()
-
setLabel
public void setLabel(String label)
-
setNamespace
public void setNamespace(String namespace)
-
setPattern
public void setPattern(String pattern)
-
setUuid
public void setUuid(UUID uuid)
-
-