org.openbp.cockpit.plugins.association
Class AssociationBean
java.lang.Object
org.openbp.common.generic.description.DescriptionObjectImpl
org.openbp.common.generic.description.DisplayObjectImpl
org.openbp.cockpit.plugins.association.AssociationBean
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Comparable, Copyable, DescriptionObject, Displayable, DisplayObject, Validatable
public class AssociationBean
- extends DisplayObjectImpl
Container bean containing the mime-type associations.
- Author:
- Andreas Putz
- See Also:
- Serialized Form
| Methods inherited from class org.openbp.common.generic.description.DescriptionObjectImpl |
clone, compareTo, getDescription, getDescriptionEscape, getDescriptionText, getName, setDescription, setDescriptionEscape, setName, toString, validate |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.lang.Comparable |
compareTo |
AssociationBean
public AssociationBean()
- Constructor.
getMimeTypes
public java.util.List getMimeTypes()
- Gets the mime types.
- Returns:
- The list of mime types
setMimeTypes
public void setMimeTypes(java.util.List mimeTypes)
- Sets the mime types.
- Parameters:
mimeTypes - Mime types which can interact with this association
addMimeType
public void addMimeType(MimeTypeAssociation mimeType)
- Add a mime type to list.
- Parameters:
mimeType - Mime type which can interact with this association
getMimeTypeAssociation
public MimeTypeAssociation getMimeTypeAssociation(java.lang.String mimeType)
- Gets the MIME type association for the given MIME type.
- Parameters:
mimeType - Mime type
- Returns:
- The association or null if no such association exists
copyFrom
public void copyFrom(java.lang.Object source,
int copyMode)
throws java.lang.CloneNotSupportedException
- Specified by:
copyFrom in interface Copyable- Overrides:
copyFrom in class DisplayObjectImpl
- Throws:
java.lang.CloneNotSupportedException- See Also:
Copyable.copyFrom(Object, int)
Copyright © 2011. All Rights Reserved.