This project has retired. For details please refer to its
Attic page.
BaseMediaType (Jetspeed 1 Enterprise Portal 1.6 API)
org.apache.jetspeed.om.registry.base
Class BaseMediaType
java.lang.Object
org.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
|
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 |
BaseMediaType
public BaseMediaType()
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.