org.ow2.dragon.persistence.bo.technology
Class EnvironmentFederation

java.lang.Object
  extended by org.ow2.dragon.persistence.bo.BaseObject
      extended by org.ow2.dragon.persistence.bo.technology.EnvironmentFederation
All Implemented Interfaces:
java.io.Serializable

public class EnvironmentFederation
extends BaseObject

Author:
ofabre - eBM Websourcing
See Also:
Serialized Form

Nested Class Summary
static class EnvironmentFederation.FedPattern
           
 
Constructor Summary
EnvironmentFederation()
           
 
Method Summary
 void addExecEnv(ExecutionEnvironment executionEnvironment)
           
 void addPossibleRole(java.lang.String possibleRole)
           
 boolean equals(java.lang.Object other)
          Compares object equality.
 java.util.Set<ExecutionEnvironment> getExecEnvs()
           
 java.lang.String getId()
           
 java.lang.String getName()
           
 EnvironmentFederation.FedPattern getPattern()
           
 java.util.List<java.lang.String> getPossibleRole()
           
 int hashCode()
          When you override equals, you should override hashCode.
 void removeExecEnv(ExecutionEnvironment executionEnvironment)
           
 void setExecEnvs(java.util.Set<ExecutionEnvironment> execEnvs)
           
 void setId(java.lang.String id)
           
 void setName(java.lang.String name)
           
 void setPattern(EnvironmentFederation.FedPattern pattern)
           
 void setPossibleRole(java.util.List<java.lang.String> possibleRole)
           
 java.lang.String toString()
          Returns a multi-line String with key=value pairs.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EnvironmentFederation

public EnvironmentFederation()
Method Detail

addExecEnv

public void addExecEnv(ExecutionEnvironment executionEnvironment)

addPossibleRole

public void addPossibleRole(java.lang.String possibleRole)

removeExecEnv

public void removeExecEnv(ExecutionEnvironment executionEnvironment)

getExecEnvs

public java.util.Set<ExecutionEnvironment> getExecEnvs()

setExecEnvs

public void setExecEnvs(java.util.Set<ExecutionEnvironment> execEnvs)

getId

public java.lang.String getId()
Specified by:
getId in class BaseObject

setId

public void setId(java.lang.String id)
Specified by:
setId in class BaseObject

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getPattern

public EnvironmentFederation.FedPattern getPattern()

setPattern

public void setPattern(EnvironmentFederation.FedPattern pattern)

getPossibleRole

public java.util.List<java.lang.String> getPossibleRole()

setPossibleRole

public void setPossibleRole(java.util.List<java.lang.String> possibleRole)

equals

public boolean equals(java.lang.Object other)
Description copied from class: BaseObject
Compares object equality. When using Hibernate, the primary key should not be a part of this comparison.

Specified by:
equals in class BaseObject
Parameters:
other - object to compare to
Returns:
true/false based on equality tests

hashCode

public int hashCode()
Description copied from class: BaseObject
When you override equals, you should override hashCode. See "Why are equals() and hashCode() importation" for more information: http://www.hibernate.org/109.html

Specified by:
hashCode in class BaseObject
Returns:
hashCode

toString

public java.lang.String toString()
Description copied from class: BaseObject
Returns a multi-line String with key=value pairs.

Specified by:
toString in class BaseObject
Returns:
a String representation of this class.
See Also:
Object.toString()


Copyright © 2008 eBMWebsourcing. All Rights Reserved.