@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.EAGER) @JoinColumn(name = "CUST_ID") @Sort(type = SortType.COMPARATOR, comparator = TicketComparator.class) public SortedSet<Ticket> getTickets() { return tickets; }
@Sort(type = SortType.NATURAL) @Type(type = "float") @MapKeyColumn(nullable = false)
@Sort(type = SortType.COMPARATOR, comparator = StrTestEntityComparator.class) private SortedSet<StrTestEntity> sortedSet = new TreeSet<StrTestEntity>( StrTestEntityComparator.INSTANCE ); @Audited @ElementCollection @MapKeyJoinColumn @Sort(type = SortType.COMPARATOR, comparator = StrTestEntityComparator.class) private SortedMap<StrTestEntity, String> sortedMap = new TreeMap<StrTestEntity, String>( StrTestEntityComparator.INSTANCE );
joinColumns = @JoinColumn(name = "perf_test_id"), /** inverse join column */ inverseJoinColumns = @JoinColumn(name = "tag_id")) @Sort(comparator = Tag.class, type = SortType.COMPARATOR) private SortedSet<Tag> tags;
/** * @return the externalIdentifiers */ @OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "owner", orphanRemoval = true) @Sort(type = SortType.NATURAL) public Set<ExternalIdentifierEntity> getExternalIdentifiers() { return externalIdentifiers; }
/** * @return the grants */ @OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = PROFILE, orphanRemoval = true) @Sort(type = SortType.COMPARATOR, comparator = ProfileFundingEntityDisplayIndexComparatorDesc.class) public SortedSet<ProfileFundingEntity> getProfileFunding() { return profileFunding; }
@OneToMany(cascade = { CascadeType.ALL }, fetch = FetchType.EAGER, mappedBy = "clientDetailsEntity", orphanRemoval = true) @Sort(type = SortType.NATURAL) public Set<ClientSecretEntity> getClientSecrets() { return clientSecrets; }
@OneToMany(mappedBy = "notification", cascade = { CascadeType.ALL }, fetch = FetchType.EAGER) @Sort(type = SortType.COMPARATOR, comparator = ChronologicallyOrderedNotificationWorkEntityComparator.class) public SortedSet<NotificationWorkEntity> getNotificationWorks() { return notificationWorks; }
/** * @return the otherNames */ @OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = PROFILE, orphanRemoval = true) @Sort(type = SortType.NATURAL) public SortedSet<OtherNameEntity> getOtherNames() { return otherNames; }
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = PROFILE) @Sort(type = SortType.NATURAL) public SortedSet<OrcidOauth2TokenDetail> getTokenDetails() { return tokenDetails; }
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = PROFILE, orphanRemoval = true) @Sort(type = SortType.NATURAL) public SortedSet<ProfileKeywordEntity> getKeywords() { return keywords; }
/** * @return the researcherUrls */ @OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "user", orphanRemoval = true) @Sort(type = SortType.NATURAL) public SortedSet<ResearcherUrlEntity> getResearcherUrls() { return researcherUrls; }
@OneToMany(cascade = { CascadeType.ALL }, fetch = FetchType.EAGER, mappedBy = "clientDetailsEntity", orphanRemoval = true) @Sort(type = SortType.NATURAL) public SortedSet<ClientRedirectUriEntity> getClientRegisteredRedirectUris() { return clientRegisteredRedirectUris; }
/** * @return the affiliations */ @OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = PROFILE, orphanRemoval = true) @Sort(type = SortType.NATURAL) public SortedSet<OrgAffiliationRelationEntity> getOrgAffiliationRelations() { return orgAffiliationRelations; }
/** * @return the peer reviews * */ @OneToMany(mappedBy = PROFILE, cascade = CascadeType.ALL, fetch = FetchType.LAZY, orphanRemoval = true) @Sort(type = SortType.NATURAL)//TODO: ? this seems like it might need a display id comparator. public SortedSet<ResearchResourceEntity> getResearchResource() { return researchResources; }
/** * Gets the entity alias mappings. * * @return the entity alias mappings */ @OneToMany(mappedBy="hwEntity", fetch=FetchType.LAZY, cascade={CascadeType.ALL}, orphanRemoval=true) @Sort(type = SortType.NATURAL) @XmlElement(name="hwEntityAliases") public SortedSet<OnmsHwEntityAlias> getEntAliases() { return m_entAliases; }
@OneToMany(cascade = { CascadeType.ALL }, fetch = FetchType.LAZY) @JoinColumn(name = "group_orcid") @Sort(type = SortType.COMPARATOR, comparator = OrcidEntityIdComparator.class) public SortedSet<ClientDetailsEntity> getClients() { return clients; }
/** * Gets the hardware entity attributes. * * @return the hardware entity attributes */ @OneToMany(mappedBy="hwEntity", fetch=FetchType.LAZY, cascade={CascadeType.ALL}, orphanRemoval=true) @Sort(type = SortType.NATURAL) @XmlElement(name="hwEntityAttribute") @XmlElementWrapper(name="vendorAttributes") public SortedSet<OnmsHwEntityAttribute> getHwEntityAttributes() { return m_hwAttributes; }
/** * Gets the children. * * @return the children */ @XmlElement(name="hwEntity") @XmlElementWrapper(name="children") @Sort(type = SortType.NATURAL, comparator = OnmsHwEntity.class) @OneToMany(mappedBy="parent", fetch=FetchType.LAZY, cascade={CascadeType.ALL}) public SortedSet<OnmsHwEntity> getChildren() { return m_children; }