Class BwShareableDbentity<T>

Type Parameters:
T -
All Implemented Interfaces:
Serializable, Comparable<T>, OwnedEntity, ShareableEntity, org.bedework.util.logging.Logged
Direct Known Subclasses:
BwShareableContainedDbentity

public abstract class BwShareableDbentity<T> extends BwOwnedDbentity<T> implements ShareableEntity
Base class for shareable database entities.
Version:
1.0
Author:
Mike Douglass
See Also:
  • Constructor Details

    • BwShareableDbentity

      public BwShareableDbentity()
      No-arg constructor
  • Method Details

    • setCreatorHref

      public void setCreatorHref(String val)
      Description copied from interface: ShareableEntity
      Set the creator
      Specified by:
      setCreatorHref in interface ShareableEntity
      Parameters:
      val - String creator of the entity
    • getCreatorHref

      public String getCreatorHref()
      Specified by:
      getCreatorHref in interface ShareableEntity
      Returns:
      BwUser creator of the entity
    • setAccess

      public void setAccess(String val)
      Description copied from interface: ShareableEntity
      Set the access
      Specified by:
      setAccess in interface ShareableEntity
      Parameters:
      val - String access
    • getAccess

      public String getAccess()
      Description copied from interface: ShareableEntity
      Get the access
      Specified by:
      getAccess in interface ShareableEntity
      Returns:
      String access
    • setCreatorEnt

      public void setCreatorEnt(BwPrincipal<?> val)
      Description copied from interface: ShareableEntity
      Set the creator
      Specified by:
      setCreatorEnt in interface ShareableEntity
      Parameters:
      val - BwPrincipal creator of the entity
    • getCreatorEnt

      public BwPrincipal<?> getCreatorEnt()
      Specified by:
      getCreatorEnt in interface ShareableEntity
      Returns:
      BwPrincipal creator of the entity
    • toStringSegment

      protected void toStringSegment(org.bedework.util.misc.ToString ts)
      Add our stuff to the ToString object
      Overrides:
      toStringSegment in class BwOwnedDbentity<T>
      Parameters:
      ts - ToString for result
    • shallowCopyTo

      public void shallowCopyTo(BwShareableDbentity<?> val)
      Copy this objects fields into the parameter. Don't clone many of the referenced objects
      Parameters:
      val - Object to copy into
    • copyTo

      public void copyTo(BwShareableDbentity<?> val)
      Copy this objects fields into the parameter
      Parameters:
      val - Object to copy into