Package cern.nxcals.api.domain
Class BaseGroup
- java.lang.Object
-
- cern.nxcals.api.domain.BaseGroup
-
- All Implemented Interfaces:
Identifiable
,Versionable
- Direct Known Subclasses:
Group
public class BaseGroup extends java.lang.Object implements Identifiable, Versionable
-
-
Field Summary
-
Fields inherited from interface cern.nxcals.api.domain.Identifiable
NOT_SET
-
Fields inherited from interface cern.nxcals.api.domain.Versionable
NOT_SET
-
-
Constructor Summary
Constructors Constructor Description BaseGroup(long id, @NonNull java.lang.String name, java.lang.String description, @NonNull java.util.Map<java.lang.String,java.lang.String> properties, java.lang.String owner, @NonNull Visibility visibility, long recVersion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.String
getDescription()
long
getId()
@NonNull java.lang.String
getName()
java.lang.String
getOwner()
java.util.Map<java.lang.String,java.lang.String>
getProperties()
protected java.util.Map<java.lang.String,java.lang.String>
getPropertiesToModify()
long
getRecVersion()
@NonNull Visibility
getVisibility()
int
hashCode()
boolean
isVisible()
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
-
-
-
-
Constructor Detail
-
BaseGroup
public BaseGroup(long id, @NonNull @NonNull java.lang.String name, java.lang.String description, @NonNull @NonNull java.util.Map<java.lang.String,java.lang.String> properties, java.lang.String owner, @NonNull @NonNull Visibility visibility, long recVersion)
-
-
Method Detail
-
isVisible
public boolean isVisible()
-
getProperties
public java.util.Map<java.lang.String,java.lang.String> getProperties()
-
getPropertiesToModify
protected java.util.Map<java.lang.String,java.lang.String> getPropertiesToModify()
-
getId
public long getId()
- Specified by:
getId
in interfaceIdentifiable
-
getName
@NonNull public @NonNull java.lang.String getName()
-
getDescription
public java.lang.String getDescription()
-
getOwner
public java.lang.String getOwner()
-
getVisibility
@NonNull public @NonNull Visibility getVisibility()
-
getRecVersion
public long getRecVersion()
- Specified by:
getRecVersion
in interfaceVersionable
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-