Class MusicMediaSubtype
- java.lang.Object
-
- no.unit.nva.model.instancetypes.artistic.music.MusicMediaSubtype
-
- Direct Known Subclasses:
MusicMediaSubtypeOther
public class MusicMediaSubtype extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDESCRIPTION_FIELDstatic java.lang.StringTYPE_FIELD
-
Constructor Summary
Constructors Constructor Description MusicMediaSubtype(MusicMediaType type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MusicMediaSubtypecreateOther(java.lang.String description)booleanequals(java.lang.Object o)static MusicMediaSubtypefromJson(MusicMediaType type, java.lang.String description)MusicMediaTypegetType()inthashCode()
-
-
-
Field Detail
-
TYPE_FIELD
public static final java.lang.String TYPE_FIELD
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD
public static final java.lang.String DESCRIPTION_FIELD
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MusicMediaSubtype
public MusicMediaSubtype(MusicMediaType type)
-
-
Method Detail
-
createOther
public static MusicMediaSubtype createOther(java.lang.String description)
-
fromJson
public static MusicMediaSubtype fromJson(MusicMediaType type, java.lang.String description)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
getType
public MusicMediaType getType()
-
-