Package org.cyclos.entities.users
Class Brokering
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.BaseEntity
-
- org.cyclos.entities.users.Brokering
-
- All Implemented Interfaces:
Cloneable,ProcessableForDataTranslation,IEntity
@Entity public class Brokering extends BaseEntity
Represents a brokering relationship
-
-
Constructor Summary
Constructors Constructor Description Brokering()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetBeginDate()UsergetBroker()DategetEndDate()NetworkgetNetwork()Returns the network this entity belongs toUsergetUser()booleanisMain()voidsetBeginDate(Date beginDate)voidsetBroker(User broker)voidsetEndDate(Date endDate)voidsetMain(boolean main)voidsetUser(User user)-
Methods inherited from class org.cyclos.entities.BaseEntity
getDataTranslationType, getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
clone, equals, getId, getId, getIds, getUniqueIds, getUniqueIds, hashCode, isPersistent, isTransient, toShortString, toString
-
-
-
-
Method Detail
-
getBeginDate
public Date getBeginDate()
-
getBroker
public User getBroker()
-
getEndDate
public Date getEndDate()
-
getNetwork
public Network getNetwork()
Description copied from class:NetworkedEntityReturns the network this entity belongs to- Specified by:
getNetworkin classNetworkedEntity
-
getUser
public User getUser()
-
isMain
public boolean isMain()
-
setBeginDate
public void setBeginDate(Date beginDate)
-
setBroker
public void setBroker(User broker)
-
setEndDate
public void setEndDate(Date endDate)
-
setMain
public void setMain(boolean main)
-
setUser
public void setUser(User user)
-
-