- java.lang.Object
-
- io.lindstrom.mpd.data.descriptor.Descriptor
-
- io.lindstrom.mpd.data.descriptor.Role
-
public class Role extends Descriptor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRole.Builderstatic classRole.Type
-
Field Summary
-
Fields inherited from class io.lindstrom.mpd.data.descriptor.Descriptor
id, schemeIdUri
-
-
Method Summary
Modifier and Type Method Description static Role.Builderbuilder()Role.BuilderbuildUpon()booleanequals(java.lang.Object o)Role.TypegetType()java.lang.StringgetValue()inthashCode()java.lang.StringtoString()-
Methods inherited from class io.lindstrom.mpd.data.descriptor.Descriptor
getId, getSchemeIdUri
-
-
-
-
Method Detail
-
getValue
public java.lang.String getValue()
- Specified by:
getValuein classDescriptor
-
getType
public Role.Type getType()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classDescriptor
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDescriptor
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
buildUpon
public Role.Builder buildUpon()
-
builder
public static Role.Builder builder()
-
-