Package org.cyclos.entities.system
Class EntityLog
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.system.EntityLog
-
- All Implemented Interfaces:
Cloneable,HasNetwork,ProcessableForDataTranslation,DefinesNetwork,IEntity
@Entity public class EntityLog extends NetworkedEntity implements DefinesNetwork
Change log for an entity.
-
-
Constructor Summary
Constructors Constructor Description EntityLog()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BasicUsergetBy()StringgetChannel()DategetDate()longgetEntityId()EntityLogEventgetEvent()StringgetName()NetworkgetNetwork()Returns the network this entity belongs toLonggetOwnerEntityId()List<EntityPropertyLog>getPropertyLogs()StringgetRemoteAddress()EntityLogTypegetType()booleanisPrivateEntity()voidsetBy(BasicUser by)voidsetChannel(String channel)voidsetDate(Date date)voidsetEntityId(long entityId)voidsetEvent(EntityLogEvent event)voidsetName(String name)voidsetNetwork(Network network)voidsetOwnerEntityId(Long ownerEntityId)voidsetPrivateEntity(Boolean privateEntity)voidsetPropertyLogs(List<EntityPropertyLog> propertyLogs)voidsetRemoteAddress(String remoteAddress)voidsetType(EntityLogType type)-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
clone, equals, getId, hashCode, id, ids, isPersistent, isTransient, setId, toShortString, toString, uniqueIds, uniqueIds
-
-
-
-
Method Detail
-
getBy
public BasicUser getBy()
-
getChannel
public String getChannel()
-
getDate
public Date getDate()
-
getEntityId
public long getEntityId()
-
getEvent
public EntityLogEvent getEvent()
-
getName
public String getName()
-
getNetwork
public Network getNetwork()
Description copied from interface:HasNetworkReturns the network this entity belongs to- Specified by:
getNetworkin interfaceHasNetwork
-
getOwnerEntityId
public Long getOwnerEntityId()
-
getPropertyLogs
public List<EntityPropertyLog> getPropertyLogs()
-
getRemoteAddress
public String getRemoteAddress()
-
getType
public EntityLogType getType()
-
isPrivateEntity
public boolean isPrivateEntity()
-
setBy
public void setBy(BasicUser by)
-
setChannel
public void setChannel(String channel)
-
setDate
public void setDate(Date date)
-
setEntityId
public void setEntityId(long entityId)
-
setEvent
public void setEvent(EntityLogEvent event)
-
setName
public void setName(String name)
-
setNetwork
public void setNetwork(Network network)
- Specified by:
setNetworkin interfaceDefinesNetwork
-
setOwnerEntityId
public void setOwnerEntityId(Long ownerEntityId)
-
setPrivateEntity
public void setPrivateEntity(Boolean privateEntity)
-
setPropertyLogs
public void setPropertyLogs(List<EntityPropertyLog> propertyLogs)
-
setRemoteAddress
public void setRemoteAddress(String remoteAddress)
-
setType
public void setType(EntityLogType type)
-
-