org.openbp.cockpit.plugins.association
Class MimeTypeAssociation
java.lang.Object
org.openbp.common.generic.description.DescriptionObjectImpl
org.openbp.common.generic.description.DisplayObjectImpl
org.openbp.cockpit.plugins.association.MimeTypeAssociation
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Comparable, Copyable, DescriptionObject, Displayable, DisplayObject, Validatable
public class MimeTypeAssociation
- extends DisplayObjectImpl
Association object containing the mime type and the
application belongs to that.
- Author:
- Andreas Putz
- See Also:
- Serialized Form
|
Method Summary |
void |
copyFrom(java.lang.Object source,
int copyMode)
|
java.lang.String |
getAssociatedProgram()
Returns the associated program. |
java.lang.String |
getDisplayName()
Gets the default display name of this object. |
void |
setAssociatedProgram(java.lang.String associatedProgram)
Sets the associated program. |
| 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 |
MimeTypeAssociation
public MimeTypeAssociation()
- Constructor.
MimeTypeAssociation
public MimeTypeAssociation(java.lang.String name)
- Constructor.
- Parameters:
name - The name of the mime type
getAssociatedProgram
public java.lang.String getAssociatedProgram()
- Returns the associated program.
setAssociatedProgram
public void setAssociatedProgram(java.lang.String associatedProgram)
- Sets the associated program.
getDisplayName
public java.lang.String getDisplayName()
- Gets the default display name of this object.
The display name is the human-readable name of the object (i. e. a name that is
displayed in the user interface).
- Specified by:
getDisplayName in interface DisplayObject- Overrides:
getDisplayName in class DisplayObjectImpl
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.