Class IncomingPolicyBean
java.lang.Object
ecmwf.web.dao.ModelBeanBase
ecmwf.ecpds.master.plugin.http.dao.transfer.IncomingPolicyBean
- All Implemented Interfaces:
OjbImplementedBean
,IncomingPolicy
,ecmwf.web.model.ModelBean
public class IncomingPolicyBean
extends ecmwf.web.dao.ModelBeanBase
implements IncomingPolicy, OjbImplementedBean
The Class IncomingPolicyBean.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
IncomingPolicyBean
(IncomingPolicy incomingPolicy) Instantiates a new incoming policy bean. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds the destination.void
Delete destination.boolean
Equals.boolean
Equals.boolean
Gets the active.protected Collection
<Destination> Gets the added destinations.Gets the associated destinations.Gets the bean interface name.Gets the comment.Gets the completions.getData()
Gets the data.protected Collection
<Destination> Gets the deleted destinations.getId()
Gets the id.Gets the incoming policies.Gets the ojb implementation.Gets the properties.int
hashCode()
Hash code.void
setActive
(boolean active) Sets the active.void
setComment
(String comment) Sets the comment.void
Sets the data.void
Sets the id.toString()
To string.Methods inherited from class ecmwf.web.dao.ModelBeanBase
delete, delete, getAttributeValue, getIntId, insert, insert, isNew, save, save
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface ecmwf.web.model.ModelBean
delete, delete, getAttributeValue, getIntId, insert, insert, isNew, save, save
-
Constructor Details
-
IncomingPolicyBean
Instantiates a new incoming policy bean.- Parameters:
incomingPolicy
- the incoming policy
-
-
Method Details
-
getOjbImplementation
Gets the ojb implementation. Gets the ojb implementation.- Specified by:
getOjbImplementation
in interfaceOjbImplementedBean
- Returns:
- the ojb implementation
-
getBeanInterfaceName
Gets the bean interface name.- Specified by:
getBeanInterfaceName
in interfaceecmwf.web.model.ModelBean
- Specified by:
getBeanInterfaceName
in classecmwf.web.dao.ModelBeanBase
-
getId
Gets the id. Gets the id.- Specified by:
getId
in interfaceIncomingPolicy
- Specified by:
getId
in interfaceecmwf.web.model.ModelBean
- Overrides:
getId
in classecmwf.web.dao.ModelBeanBase
-
getComment
Gets the comment. Gets the comment.- Specified by:
getComment
in interfaceIncomingPolicy
- Returns:
- the comment
-
getActive
public boolean getActive()Gets the active. Gets the active.- Specified by:
getActive
in interfaceIncomingPolicy
- Returns:
- the active
-
getData
Gets the data. Gets the data.- Specified by:
getData
in interfaceIncomingPolicy
- Returns:
- the data
-
getProperties
Gets the properties. Gets the properties.- Specified by:
getProperties
in interfaceIncomingPolicy
- Returns:
- the properties
-
getCompletions
Gets the completions. Gets the completions.- Specified by:
getCompletions
in interfaceIncomingPolicy
- Returns:
- the completions
-
setId
Sets the id. Sets the id.- Specified by:
setId
in interfaceIncomingPolicy
- Specified by:
setId
in interfaceecmwf.web.model.ModelBean
- Overrides:
setId
in classecmwf.web.dao.ModelBeanBase
-
setComment
Sets the comment. Sets the comment.- Specified by:
setComment
in interfaceIncomingPolicy
- Parameters:
comment
- the new comment
-
setActive
public void setActive(boolean active) Sets the active. Sets the active.- Specified by:
setActive
in interfaceIncomingPolicy
- Parameters:
active
- the new active
-
setData
Sets the data. Sets the data.- Specified by:
setData
in interfaceIncomingPolicy
- Parameters:
data
- the new data
-
getIncomingPolicies
Gets the incoming policies.- Returns:
- the incoming policies
- Throws:
IncomingPolicyException
- the incoming policy exception
-
addDestination
Adds the destination. Adds the destination.- Specified by:
addDestination
in interfaceIncomingPolicy
- Parameters:
d
- the d
-
deleteDestination
Delete destination. Delete destination.- Specified by:
deleteDestination
in interfaceIncomingPolicy
- Parameters:
d
- the d
-
getAddedDestinations
Gets the added destinations.- Returns:
- the added destinations
-
getDeletedDestinations
Gets the deleted destinations.- Returns:
- the deleted destinations
-
getAssociatedDestinations
Gets the associated destinations. Gets the associated destinations.- Specified by:
getAssociatedDestinations
in interfaceIncomingPolicy
- Returns:
- the associated destinations
- Throws:
TransferException
- the transfer exception
-
equals
-
equals
Equals.- Parameters:
d
- the d- Returns:
- true, if successful
-
hashCode
-
toString
-