Class MCRCategoryID
java.lang.Object
org.mycore.datamodel.classifications2.MCRCategoryID
- All Implemented Interfaces:
Serializable
- Author:
- mcradmin
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MCRCategoryID
- Parameters:
rootID
- aka Classification IDid
- aka Category ID
-
-
Method Details
-
rootID
-
fromString
- Parameters:
categoryId
- must be in format classificationId:categoryId- Returns:
- the
MCRCategoryID
if any
-
isRootID
public boolean isRootID() -
hashCode
public int hashCode() -
equals
-
getID
- Returns:
- the ID
-
isValid
- Parameters:
id
- the ID to check- Returns:
- true, if the given String is a valid categoryID
-
getRootID
- Returns:
- the rootID
-
toString
-