kaos.kpat.models
Class ModelPolicySet
java.lang.Object
kaos.kpat.models.ModelPolicySet
- All Implemented Interfaces:
- java.awt.datatransfer.Transferable, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable, iModelPolicySet
public class ModelPolicySet
- extends java.lang.Object
- implements iModelPolicySet, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable, java.awt.datatransfer.Transferable
The Model Policy Set is the implemetation of the Policy Set Interface.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_policySetMsg
public PolicySetMsg _policySetMsg
INFO_FLAVOR
public static final java.awt.datatransfer.DataFlavor INFO_FLAVOR
ModelPolicySet
public ModelPolicySet(PolicySetMsg policySetMsg)
clone
public java.lang.Object clone()
- shallow clone.
- Overrides:
clone
in class java.lang.Object
toPolicySetMsg
public PolicySetMsg toPolicySetMsg()
getSetId
public java.lang.String getSetId()
- Specified by:
getSetId
in interface iModelPolicySet
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interface iModelPolicySet
getName
public java.lang.String getName()
- Specified by:
getName
in interface iModelPolicySet
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getPolicyIDs
public java.util.Vector getPolicyIDs()
- Specified by:
getPolicyIDs
in interface iModelPolicySet
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interface java.lang.Comparable
isDataFlavorSupported
public boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor df)
- Specified by:
isDataFlavorSupported
in interface java.awt.datatransfer.Transferable
getTransferData
public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor df)
throws java.awt.datatransfer.UnsupportedFlavorException,
java.io.IOException
- implements Transferable interface
- Specified by:
getTransferData
in interface java.awt.datatransfer.Transferable
- Throws:
java.awt.datatransfer.UnsupportedFlavorException
java.io.IOException
getTransferDataFlavors
public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
- implements Transferable interface
- Specified by:
getTransferDataFlavors
in interface java.awt.datatransfer.Transferable