Interface ICollectionManaged

All Superinterfaces:
IBaseEntity, ICoreEntity, IEntity, Serializable
All Known Implementing Classes:
Asset, Attribute, ImportProfile, NavigationHrc, Project, PublicationProfile, Reporting, Unit

public interface ICollectionManaged extends IEntity
Interface to signal that instances of implementing classes are always associated with a collection. This interface applies to the primary collection only. See ICollectionListManaged for linked collections.
  • Method Details

    • isRootPerType

      boolean isRootPerType()
      Flag that indicates if the entities have a root collection per type or if there is only one global root collection. if rootPerType true it can only apply to entities that have a type, i.e. ComplexEntities.
    • getType

    • getCollection

      Collection getCollection()
      Returns:
      The primary collection. For linked collections use ICollectionListManaged.getCollections() instead.
    • setCollection

      void setCollection(Collection collection)
      Associate the given collection as primary collection with the current object.
      Parameters:
      collection - New primary collection.