Class ModelResource
- java.lang.Object
-
- org.apache.archiva.redback.role.model.ModelResource
-
- All Implemented Interfaces:
Serializable
public class ModelResource extends Object implements Serializable
Class ModelResource.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ModelResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)Method equals.StringgetDescription()Get the description field.StringgetId()Get the id field.StringgetName()Get the name field.inthashCode()Method hashCode.booleanisPattern()Get this resource is a pattern, currently unsupported.booleanisPermanent()Get this resource should persist even if all referring permissions are removed.voidsetDescription(String description)Set the description field.voidsetId(String id)Set the id field.voidsetName(String name)Set the name field.voidsetPattern(boolean pattern)Set this resource is a pattern, currently unsupported.voidsetPermanent(boolean permanent)Set this resource should persist even if all referring permissions are removed.StringtoString()Method toString.
-
-
-
Constructor Detail
-
ModelResource
public ModelResource()
-
-
Method Detail
-
getDescription
public String getDescription()
Get the description field.- Returns:
- String
-
isPattern
public boolean isPattern()
Get this resource is a pattern, currently unsupported.- Returns:
- boolean
-
isPermanent
public boolean isPermanent()
Get this resource should persist even if all referring permissions are removed.- Returns:
- boolean
-
setDescription
public void setDescription(String description)
Set the description field.- Parameters:
description-
-
setPattern
public void setPattern(boolean pattern)
Set this resource is a pattern, currently unsupported.- Parameters:
pattern-
-
setPermanent
public void setPermanent(boolean permanent)
Set this resource should persist even if all referring permissions are removed.- Parameters:
permanent-
-
-