Class ItemListData

    • Field Detail

      • externalId

        private String externalId
      • memberType

        private int memberType
      • rawDataType

        private String rawDataType
      • size

        private int size
      • disableSyncFilters

        private boolean disableSyncFilters
      • disableManualMembers

        private boolean disableManualMembers
      • syncDate

        private Date syncDate
      • sizeAtLastSync

        private int sizeAtLastSync
      • md5AtLastSync

        private String md5AtLastSync
    • Constructor Detail

      • ItemListData

        public ItemListData()
    • Method Detail

      • getExternalId

        public String getExternalId()
        Get the external id for this ItemList item.
        Hibernate: property
        column="`external_id`" type="string" length="255" not-null="false"
      • setExternalId

        public void setExternalId​(String externalId)
      • getMemberType

        public int getMemberType()
        Get the type of items this list can hold. Not possible to change after creation.
        Hibernate: property
        column="`member_type`" type="int" not-null="true" update="false"
      • setMemberType

        public void setMemberType​(int memberType)
      • getItemSubtype

        public ItemSubtypeData getItemSubtype()
        Get the subtype of items that can be members in this list. This is a recommendation only and is not enforced.
        Hibernate: many-to-one
        column="`subtype_id`" not-null="false" outer-join="false"
      • getRawDataType

        public String getRawDataType()
        Get the raw data type of raw bioassays that can be members in this list. This is a recommendation only and is not enforced.
        Hibernate: property
        column="`rawdatatype`" type="string" length="255" not-null="false"
      • setRawDataType

        public void setRawDataType​(String rawDataType)
      • getSize

        public int getSize()
        The number of biomaterials in the list.
        Hibernate: property
        column="`size`" type="int" not-null="true"
      • setSize

        public void setSize​(int size)
      • getMembers

        public Set<Integer> getMembers()
        Get the set that manages which items that are part of this list.
        Hibernate: set
        table="`ItemListMembers`" lazy="true"
        Hibernate: collection-key
        column="`list_id`"
        Hibernate: collection-element
        column="`item_id`" type="int"
      • setMembers

        public void setMembers​(Set<Integer> members)
      • getDisableSyncFilters

        public boolean getDisableSyncFilters()
        If set, syncing members with sync filter is disabled
        Hibernate: property
        column="`disable_syncfilters`" type="boolean" not-null="true"
      • setDisableSyncFilters

        public void setDisableSyncFilters​(boolean disableSyncFilters)
      • getDisableManualMembers

        public boolean getDisableManualMembers()
        If set, manually adding/removing members is disabled
        Hibernate: property
        column="`disable_manual`" type="boolean" not-null="true"
      • setDisableManualMembers

        public void setDisableManualMembers​(boolean disableManualMembers)
      • getSyncDate

        public Date getSyncDate()
        Get the date and time the list members was last synchronized by the filter context.
        Hibernate: property
        column="`sync_date`" type="timestamp" not-null="false"
      • setSyncDate

        public void setSyncDate​(Date syncDate)
      • getSizeAtLastSync

        public int getSizeAtLastSync()
        The size of the item list after the last sync, -1 if it has never been synced.
        Since:
        3.18
        Hibernate: property
        column="`size_last_sync`" type="int" not-null="true"
      • setSizeAtLastSync

        public void setSizeAtLastSync​(int sizeAtLastSync)
      • getMd5AtLastSync

        public String getMd5AtLastSync()
        Get the MD5 hash of the concatenated ID values from the last sync. It is always returned as a string with 32 hexadecimal characters. This value can be compared to the MD5 of the current members to detect modifications.
        Since:
        3.18
        Hibernate: property
        column="`md5_last_sync`" type="string" length="32" not-null="false"
      • setMd5AtLastSync

        public void setMd5AtLastSync​(String md5AtLastSync)
      • getSyncFilters

        public Set<ItemListSyncFilterData> getSyncFilters()
        This is the inverse end.
        See Also:
        ItemListSyncFilterData.getItemList()
        Hibernate: set
        lazy="true" inverse="true" cascade="delete"
        Hibernate: collection-key
        column="`itemlist_id`"
        Hibernate: collection-one-to-many
        class="net.sf.basedb.core.data.ItemListSyncFilterData"