org.apache.jetspeed.om.registry.base
Class BaseMediaType

java.lang.Object
  extended byorg.apache.jetspeed.om.registry.base.BaseMediaType
All Implemented Interfaces:
java.io.Serializable

public class BaseMediaType
extends java.lang.Object
implements java.io.Serializable

Utility object for serializing with Castor a MediaTypeEntry reference

Version:
$Id: BaseMediaType.java,v 1.4 2005/03/21 18:21:37 sgala Exp $
Author:
RaphaŽl Luta
See Also:
Serialized Form

Constructor Summary
BaseMediaType()
           
 
Method Summary
 boolean equals(java.lang.Object object)
          Implements the equals operation so that 2 elements are equal if all their member values are equal.
 java.lang.String getRef()
           
 void setRef(java.lang.String name)
          Sets the media type name referenced by this object
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseMediaType

public BaseMediaType()
Method Detail

equals

public boolean equals(java.lang.Object object)
Implements the equals operation so that 2 elements are equal if all their member values are equal.


getRef

public java.lang.String getRef()
Returns:
the media type name that is referenced

setRef

public void setRef(java.lang.String name)
Sets the media type name referenced by this object

Parameters:
name - the required media type name


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.