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 boolean
equals(Object other)
Method equals.String
getDescription()
Get the description field.String
getId()
Get the id field.String
getName()
Get the name field.int
hashCode()
Method hashCode.boolean
isPattern()
Get this resource is a pattern, currently unsupported.boolean
isPermanent()
Get this resource should persist even if all referring permissions are removed.void
setDescription(String description)
Set the description field.void
setId(String id)
Set the id field.void
setName(String name)
Set the name field.void
setPattern(boolean pattern)
Set this resource is a pattern, currently unsupported.void
setPermanent(boolean permanent)
Set this resource should persist even if all referring permissions are removed.String
toString()
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
-
-
-