Package mc.core.model.cc
Class Watch
java.lang.Object
mc.core.model.cc.Watch
- All Implemented Interfaces:
Serializable,IBaseEntity,ICoreEntity
a watch is a subscription for a user or a group to changes on an complexentity. Changes are differentiated by
predefined EventTypes.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanlonggetId()inthashCode()voidsetEventType(Watch.EventType eventType) voidsetId(long id) voidvoidsetWatchedEntity(ComplexEntity watchedEntity) voidsetWatchOwner(Principal watchOwner) toString()
-
Constructor Details
-
Watch
public Watch()
-
-
Method Details
-
getId
public long getId()- Specified by:
getIdin interfaceIBaseEntity
-
setId
public void setId(long id) - Specified by:
setIdin interfaceIBaseEntity
-
getEventType
-
setEventType
-
getLocale
-
setLocale
-
getWatchedEntity
-
setWatchedEntity
-
getWatchOwner
-
setWatchOwner
-
equals
-
hashCode
public int hashCode() -
toString
-