Class/Object

atom.data

Entity

Related Docs: object Entity | package data

Permalink

abstract class Entity extends MacroSupport with Serializable with Cloneable with SearchSupport with ChangeSupport with ControllerSupport

This class represents the basic building block for user interface components. The GroupSupport subclass is the base class for layouts, which are invisible containers that hold other Entitys (or other GroupSupport) and define their layout properties.

See also

GroupSupport

Linear Supertypes
ControllerSupport, ChangeSupport, ParentSupport, SearchSupport, Cloneable, Cloneable, Serializable, Serializable, MacroSupport, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Entity
  2. ControllerSupport
  3. ChangeSupport
  4. ParentSupport
  5. SearchSupport
  6. Cloneable
  7. Cloneable
  8. Serializable
  9. Serializable
  10. MacroSupport
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Entity()

    Permalink

    Simple constructor to use when creating a entity from code.

  2. new Entity(id: String)

    Permalink

    id

    the entity's identifier

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def afterUnmarshal(unmarshaller: Unmarshaller, obj: Entity): Unit

    Permalink

    Parent object is not restored on unmarshal, so this method should help.

    Parent object is not restored on unmarshal, so this method should help.

    unmarshaller

    an instance of the unmarshaller

    obj

    parent object

    Definition Classes
    ParentSupport
  5. final def applyChange(event: PropertyChangeEvent): Unit

    Permalink

    Apply changes to entity according to existing hierarchy.

    Apply changes to entity according to existing hierarchy.

    event

    property change event that should be applied

    Definition Classes
    ChangeSupport
  6. final def applyChanges(events: List[PropertyChangeEvent]): Unit

    Permalink

    Apply changes to entity according to existing hierarchy.

    Apply changes to entity according to existing hierarchy.

    events

    property change events that should be applied

    Definition Classes
    ChangeSupport
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. final def assignParent(obj: Entity): Unit

    Permalink

    Assign the parent if it exists, or null.

    Assign the parent if it exists, or null. NOTE: Every element that use this method should override #cloneAsTemplate

    obj

    the parent tracking object

    Definition Classes
    ParentSupport
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def cloneAsTemplate: Entity

    Permalink

    Клонирование экземпляра сущности для использования в контроллере динамических данных.

    Клонирование экземпляра сущности для использования в контроллере динамических данных.

    returns

    клонированный экземпляра сущности

  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(o: Any): Boolean

    Permalink
    Definition Classes
    Entity → AnyRef → Any
  13. final def filter(string: String): String

    Permalink

    Return the string value associated with a particular resource reference.

    Return the string value associated with a particular resource reference. It will be stripped of any styled text information.

    string

    the desired resource identifier

    returns

    the string data associated with the resource, stripped of styled text information or input reference if no value exists

    Attributes
    protected[atom.data]
    Definition Classes
    ControllerSupport
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def findById(identity: String): Entity

    Permalink

    Finds a entity that was identified by the id attribute that was processed in atom.app.Activity#onCreate.

    Finds a entity that was identified by the id attribute that was processed in atom.app.Activity#onCreate.

    identity

    id attribute that was processed

    returns

    the entity if found or null otherwise

    Definition Classes
    SearchSupport
  16. final def fireChange(event: AbstractPropertyChangeEvent): Unit

    Permalink

    Reports a bound property update to listeners that have been registered to track updates of all properties or a property with the specified name.

    Reports a bound property update to listeners that have been registered to track updates of all properties or a property with the specified name.

    event

    an event

    Attributes
    protected
    Definition Classes
    ChangeSupport
  17. final def fireChange(propertyName: String, newValue: AnyRef): Unit

    Permalink

    Reports a bound property update to listeners that have been registered to track updates of all properties or a property with the specified name.

    Reports a bound property update to listeners that have been registered to track updates of all properties or a property with the specified name.

    propertyName

    the programmatic name of the property that was changed

    newValue

    the new value of the property

    Definition Classes
    ChangeSupport
  18. final def getChanges: List[PropertyChangeEvent]

    Permalink

    Provide list of property change events.

    Provide list of property change events.

    returns

    list of property change events

    Definition Classes
    ChangeSupport
    Annotations
    @XmlTransient() @JsonIgnore()
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def getController: Controller

    Permalink

    Получение собственного контроллера или в случае его отсутствия, получение первого контроллера по иерархии предков.

    Получение собственного контроллера или в случае его отсутствия, получение первого контроллера по иерархии предков.

    returns

    собственный контроллер или контроллер предка

    Definition Classes
    ControllerSupport
    Annotations
    @XmlTransient() @JsonIgnore()
  21. final def getId: String

    Permalink

    Gets the entity's identifier.

    Gets the entity's identifier.

    returns

    the entity's identifier

    Definition Classes
    SearchSupport
    Annotations
    @XmlAttribute() @XmlID() @JsonProperty()
  22. final def getParent: Entity

    Permalink

    Return the parent if it exists, or null.

    Return the parent if it exists, or null.

    returns

    the parent

    Definition Classes
    ParentSupport
    Annotations
    @JsonBackReference()
  23. final def getParentId: String

    Permalink

    Получение первого не пустого значения идентификатора сущности прородителя.

    Получение первого не пустого значения идентификатора сущности прородителя.

    returns

    идентификатор сущности прородителя либо

    null
    Attributes
    protected[atom.data]
    Definition Classes
    ParentSupport
    Annotations
    @tailrec()
  24. final def hasChanged: Boolean

    Permalink

    Tests if this object has changed.

    Tests if this object has changed.

    returns

    true if the object changes are not empty.

    Definition Classes
    ChangeSupport
  25. def hashCode(): Int

    Permalink
    Definition Classes
    Entity → AnyRef → Any
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. final def isTracking: Boolean

    Permalink

    Returns current tracking status.

    Returns current tracking status.

    returns

    current tracking status

    Definition Classes
    ChangeSupport
    Annotations
    @XmlTransient() @JsonIgnore()
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. final def setController(resources: Controller): Unit

    Permalink

    Sets resource controller reference.

    Sets resource controller reference.

    resources

    a resource controller

    Definition Classes
    ControllerSupport
  32. final def setId(identity: String): Unit

    Permalink

    Sets the entity's identifier.

    Sets the entity's identifier.

    identity

    the entity's identifier

    Definition Classes
    SearchSupport
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def toString(): String

    Permalink
    Definition Classes
    Entity → AnyRef → Any
  35. final def trackChanges(enable: Boolean = true, clearExisting: Boolean = true): Unit

    Permalink

    Set status for tracking changes for the entity.

    Set status for tracking changes for the entity.

    enable

    status for change tracking

    clearExisting

    whether to clear existing changes or not

    Definition Classes
    ChangeSupport
  36. final def unifyId(): Unit

    Permalink

    Обновление идентификатора сущности с учетом прородителя.

    Обновление идентификатора сущности с учетом прородителя.

    Attributes
    protected[atom.data]
    Definition Classes
    ParentSupport
  37. final def update(oldValue: String, newValue: String): String

    Permalink

    Return a reference or updated value.

    Return a reference or updated value.

    oldValue

    old entity value

    newValue

    new entity value

    returns

    a reference or updated value

    Attributes
    protected
    Definition Classes
    ControllerSupport
  38. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ControllerSupport

Inherited from ChangeSupport

Inherited from ParentSupport

Inherited from SearchSupport

Inherited from Cloneable

Inherited from Cloneable

Inherited from Serializable

Inherited from Serializable

Inherited from MacroSupport

Inherited from AnyRef

Inherited from Any

Ungrouped