Package cern.nxcals.api.domain
Class Group
- java.lang.Object
-
- cern.nxcals.api.domain.Group
-
- All Implemented Interfaces:
Identifiable
,Versionable
public final class Group extends java.lang.Object implements Identifiable, Versionable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Group.Builder
static class
Group.InnerBuilder
-
Field Summary
-
Fields inherited from interface cern.nxcals.api.domain.Identifiable
NOT_SET
-
Fields inherited from interface cern.nxcals.api.domain.Versionable
NOT_SET
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Group.Builder
builder()
boolean
equals(java.lang.Object o)
java.lang.String
getDescription()
long
getId()
java.lang.String
getLabel()
@NonNull java.lang.String
getName()
java.lang.String
getOwner()
@NonNull java.util.Map<java.lang.String,java.lang.String>
getProperties()
long
getRecVersion()
@NonNull SystemSpec
getSystemSpec()
@NonNull Visibility
getVisibility()
int
hashCode()
boolean
isVisible()
Group.Builder
toBuilder()
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface cern.nxcals.api.domain.Identifiable
hasId
-
Methods inherited from interface cern.nxcals.api.domain.Versionable
hasVersion
-
-
-
-
Method Detail
-
isVisible
public boolean isVisible()
-
toBuilder
public Group.Builder toBuilder()
-
builder
public static Group.Builder builder()
-
getId
public long getId()
- Specified by:
getId
in interfaceIdentifiable
-
getName
@NonNull public @NonNull java.lang.String getName()
-
getDescription
public java.lang.String getDescription()
-
getSystemSpec
@NonNull public @NonNull SystemSpec getSystemSpec()
-
getProperties
@NonNull public @NonNull java.util.Map<java.lang.String,java.lang.String> getProperties()
-
getLabel
public java.lang.String getLabel()
-
getOwner
public java.lang.String getOwner()
-
getVisibility
@NonNull public @NonNull Visibility getVisibility()
-
getRecVersion
public long getRecVersion()
- Specified by:
getRecVersion
in interfaceVersionable
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-