org.apache.jetspeed.capabilities.impl
Class CapabilityImpl
java.lang.Object
org.apache.jetspeed.capabilities.impl.CapabilityImpl
- All Implemented Interfaces:
- org.apache.jetspeed.capabilities.Capability
public class CapabilityImpl
- extends Object
- implements org.apache.jetspeed.capabilities.Capability
Capability implementation class.
- Version:
- $Id: CapabilityImpl.java 517719 2007-03-13 15:05:48Z ate $
- Author:
- Roger Ruttimann
capabilityId
private int capabilityId
name
private String name
CapabilityImpl
public CapabilityImpl()
setCapabilityId
public void setCapabilityId(int id)
- Specified by:
setCapabilityId
in interface org.apache.jetspeed.capabilities.Capability
getCapabilityId
public int getCapabilityId()
- Specified by:
getCapabilityId
in interface org.apache.jetspeed.capabilities.Capability
setName
public void setName(String name)
- Specified by:
setName
in interface org.apache.jetspeed.capabilities.Capability
getName
public String getName()
- Specified by:
getName
in interface org.apache.jetspeed.capabilities.Capability
hashCode
public int hashCode()
- Implements the hashCode calculation so two different objects with the content return the same hashcode....
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object object)
- Implements the equals operation so that 2 elements are equal if
all their member values are equal.
- Overrides:
equals
in class Object
- Parameters:
object
- to compare this one with
- Returns:
- true if both objects represent the same (logical) content
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.