Package nl.vpro.domain.media
Class TargetGroup
- java.lang.Object
-
- nl.vpro.domain.DomainObject
-
- nl.vpro.domain.media.TargetGroup
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<TargetGroup>
,Child<TargetGroups>
,Identifiable<Long>
,MediaObjectOwnableListItem<TargetGroup,TargetGroups>
,nl.vpro.domain.media.support.OwnableListItem<TargetGroup,TargetGroups>
,SimpleValueMediaObjectOwnableListItem<TargetGroup,TargetGroups,TargetGroupType>
@Entity public class TargetGroup extends DomainObject implements SimpleValueMediaObjectOwnableListItem<TargetGroup,TargetGroups,TargetGroupType>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TargetGroup.Builder
static class
TargetGroup.Deserializer
static class
TargetGroup.Serializer
-
Field Summary
Fields Modifier and Type Field Description TargetGroupType
value
-
Fields inherited from class nl.vpro.domain.DomainObject
id
-
-
Constructor Summary
Constructors Constructor Description TargetGroup()
TargetGroup(TargetGroupType value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NonNull TargetGroup.Builder
builder()
TargetGroup
clone()
int
compareTo(TargetGroup o)
boolean
equals(Object o)
TargetGroups
getParent()
TargetGroupType
getValue()
int
hashCode()
void
setParent(TargetGroups parent)
void
setValue(TargetGroupType value)
String
toString()
-
Methods inherited from class nl.vpro.domain.DomainObject
getId, isPersisted, setId
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface nl.vpro.domain.Identifiable
getId
-
-
-
-
Field Detail
-
value
public TargetGroupType value
-
-
Constructor Detail
-
TargetGroup
public TargetGroup()
-
TargetGroup
public TargetGroup(TargetGroupType value)
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toString
in classDomainObject
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classDomainObject
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classDomainObject
-
clone
public TargetGroup clone()
- Specified by:
clone
in interfaceMediaObjectOwnableListItem<TargetGroup,TargetGroups>
- Overrides:
clone
in classObject
-
compareTo
public int compareTo(TargetGroup o)
- Specified by:
compareTo
in interfaceComparable<TargetGroup>
-
builder
public static @NonNull TargetGroup.Builder builder()
-
getParent
public TargetGroups getParent()
- Specified by:
getParent
in interfaceChild<TargetGroups>
-
getValue
public TargetGroupType getValue()
- Specified by:
getValue
in interfaceSimpleValueMediaObjectOwnableListItem<TargetGroup,TargetGroups,TargetGroupType>
-
setParent
public void setParent(TargetGroups parent)
- Specified by:
setParent
in interfaceChild<TargetGroups>
-
setValue
public void setValue(TargetGroupType value)
-
-