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
ConstructorsModifierConstructorDescriptionprotectedIncomingPolicyBean(IncomingPolicy incomingPolicy) Instantiates a new incoming policy bean. -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the destination.voidDelete destination.booleanEquals.booleanEquals.booleanGets 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.inthashCode()Hash code.voidsetActive(boolean active) Sets the active.voidsetComment(String comment) Sets the comment.voidSets the data.voidSets the id.toString()To string.Methods inherited from class ecmwf.web.dao.ModelBeanBase
delete, delete, getAttributeValue, getIntId, insert, insert, isNew, save, saveMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
getOjbImplementationin interfaceOjbImplementedBean- Returns:
- the ojb implementation
-
getBeanInterfaceName
Gets the bean interface name.- Specified by:
getBeanInterfaceNamein interfaceecmwf.web.model.ModelBean- Specified by:
getBeanInterfaceNamein classecmwf.web.dao.ModelBeanBase
-
getId
Gets the id. Gets the id.- Specified by:
getIdin interfaceIncomingPolicy- Specified by:
getIdin interfaceecmwf.web.model.ModelBean- Overrides:
getIdin classecmwf.web.dao.ModelBeanBase
-
getComment
Gets the comment. Gets the comment.- Specified by:
getCommentin interfaceIncomingPolicy- Returns:
- the comment
-
getActive
public boolean getActive()Gets the active. Gets the active.- Specified by:
getActivein interfaceIncomingPolicy- Returns:
- the active
-
getData
Gets the data. Gets the data.- Specified by:
getDatain interfaceIncomingPolicy- Returns:
- the data
-
getProperties
Gets the properties. Gets the properties.- Specified by:
getPropertiesin interfaceIncomingPolicy- Returns:
- the properties
-
getCompletions
Gets the completions. Gets the completions.- Specified by:
getCompletionsin interfaceIncomingPolicy- Returns:
- the completions
-
setId
Sets the id. Sets the id.- Specified by:
setIdin interfaceIncomingPolicy- Specified by:
setIdin interfaceecmwf.web.model.ModelBean- Overrides:
setIdin classecmwf.web.dao.ModelBeanBase
-
setComment
Sets the comment. Sets the comment.- Specified by:
setCommentin interfaceIncomingPolicy- Parameters:
comment- the new comment
-
setActive
public void setActive(boolean active) Sets the active. Sets the active.- Specified by:
setActivein interfaceIncomingPolicy- Parameters:
active- the new active
-
setData
Sets the data. Sets the data.- Specified by:
setDatain 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:
addDestinationin interfaceIncomingPolicy- Parameters:
d- the d
-
deleteDestination
Delete destination. Delete destination.- Specified by:
deleteDestinationin 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:
getAssociatedDestinationsin interfaceIncomingPolicy- Returns:
- the associated destinations
- Throws:
TransferException- the transfer exception
-
equals
-
equals
Equals.- Parameters:
d- the d- Returns:
- true, if successful
-
hashCode
-
toString
-