/** * Returns the content associated to this page. * * @return the content */ @ManyToOne(type = RelationshipType.REFERENCE) @MappedBy("content") public abstract Content getContent();
/** * Returns the parent site. * * @return the parent site */ @OneToOne @MappedBy("root") public abstract WebSite getSite();
/** * Returns all the pages associated with this content. * * @return the associated pages */ @OneToMany(type = RelationshipType.REFERENCE) @MappedBy("content") public abstract Collection<Page> getPages(); }
/** * Returns the root page of the website. * * @return the root page */ @Owner @OneToOne @MappedBy("root") public abstract Page getRootPage();
@OneToOne @MappedBy("mop:template") @Owner public abstract PathAttribute getRelatedTemplate();
@ManyToOne(type = RelationshipType.PATH) @MappedBy("mop:customization") @Owner public abstract WorkspaceCustomization getCustomization();
@OneToOne @MappedBy("mop:groupsites") @Owner public abstract GroupSiteContainer getGroupSites();
@Override @OneToOne @MappedBy("g2") public abstract G3 getG3(); }
@OneToOne @MappedBy("portals") @AutoCreated public abstract WorkspaceImpl getWorkspace();
@OneToOne @Owner @MappedBy("bar") public abstract D1 getParent1();
@OneToOne @Owner @MappedBy("a") public abstract A getA();
@OneToOne @Owner @MappedBy("foo_a") public abstract D2 getChild();
@MappedBy("child1") @Owner @OneToOne @Mandatory public abstract E2 getChild1();
@OneToOne @Owner @MappedBy("groups") @AutoCreated public abstract GroupSites getGroups();
@OneToOne @Owner @MappedBy("portals") @AutoCreated public abstract PortalSites getPortals();
@OneToOne @Owner @MappedBy("navigation") @AutoCreated public abstract NavigationImpl getNavigation();
@OneToOne @Owner @MappedBy("mandatory") @Mandatory public abstract M2 getMandatory();
@OneToOne @Owner @MappedBy("container") @AutoCreated public abstract UIContainerImpl getContainer();
@OneToOne @Owner @MappedBy("root") @AutoCreated public abstract PageImpl getRoot();
@MappedBy("child2") @Owner @OneToOne @AutoCreated public abstract E2 getChild2();