org.apache.jetspeed.capabilities.impl
Class MimeTypeImpl
java.lang.Object
org.apache.jetspeed.capabilities.impl.MimeTypeImpl
- All Implemented Interfaces:
- org.apache.jetspeed.capabilities.MimeType
public class MimeTypeImpl
- extends Object
- implements org.apache.jetspeed.capabilities.MimeType
Mimetype implementation class.
- Version:
- $Id: MimeTypeImpl.java 517719 2007-03-13 15:05:48Z ate $
- Author:
- Roger Ruttimann
mimeTypeId
private int mimeTypeId
name
private String name
MimeTypeImpl
public MimeTypeImpl()
setMimetypeId
public void setMimetypeId(int id)
- Specified by:
setMimetypeId
in interface org.apache.jetspeed.capabilities.MimeType
getMimetypeId
public int getMimetypeId()
- Specified by:
getMimetypeId
in interface org.apache.jetspeed.capabilities.MimeType
setName
public void setName(String name)
- Specified by:
setName
in interface org.apache.jetspeed.capabilities.MimeType
getName
public String getName()
- Specified by:
getName
in interface org.apache.jetspeed.capabilities.MimeType
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.