Package org.molgenis.navigator.model
Class Resource
- java.lang.Object
-
- org.molgenis.navigator.model.Resource
-
public abstract class Resource extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResource.Builder
-
Constructor Summary
Constructors Constructor Description Resource()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static Resource.Builderbuilder()static Resourcecreate(ResourceType newType, String newId, String newLabel, String newDescription, boolean newHidden, boolean newReadonly)abstract StringgetDescription()abstract StringgetId()abstract StringgetLabel()abstract ResourceTypegetType()abstract booleanisHidden()abstract booleanisReadonly()
-
-
-
Method Detail
-
getType
public abstract ResourceType getType()
-
getId
public abstract String getId()
-
getLabel
public abstract String getLabel()
-
getDescription
@Nullable @CheckForNull public abstract String getDescription()
-
isHidden
public abstract boolean isHidden()
-
isReadonly
public abstract boolean isReadonly()
-
create
public static Resource create(ResourceType newType, String newId, String newLabel, String newDescription, boolean newHidden, boolean newReadonly)
-
builder
public static Resource.Builder builder()
-
-