Tabnine Logo
OneToMany
Code IndexAdd Tabnine to your IDE (free)

How to use
OneToMany
in
org.chromattic.api.annotations

Best Java code snippets using org.chromattic.api.annotations.OneToMany (Showing top 20 results out of 315)

origin: org.chromattic/chromattic.docs.reference.examples

/**
 * Returns the collection of page children.
 *
 * @return the children
 */
@OneToMany
public abstract Collection<Page> getChildren();
origin: org.chromattic/chromattic.metamodel

private RelationshipMapping.OneToMany.Reference createReferenceOneToMany(OneToMany annotation, PropertyInfo<BeanValueInfo, ?> property) {
 MappedBy mappedBy = property.getAnnotation(MappedBy.class);
 if (mappedBy == null) {
  throw new InvalidMappingException(property.getOwner().getClassType(), "The reference @OneToMany relationship " +
    property + "must carry an @MappedBy annotation");
 }
 RelationshipMapping.OneToMany.Reference mapping;
 mapping = new RelationshipMapping.OneToMany.Reference(property, mappedBy.value(), annotation.type());
 mapping.relatedBeanMapping = resolve(property.getValue().getBean());
 return mapping;
}
origin: org.chromattic/chromattic.metamodel

if (annotation instanceof OneToMany) {
 OneToMany oneToMany = (OneToMany)annotation;
 switch (oneToMany.type()) {
  case HIERARCHIC:
   mapping = createHierarchicOneToMany(beanMapping, oneToMany, (PropertyInfo<BeanValueInfo, ?>)property);
     property + " to be annotated with " + RelationshipType.HIERARCHIC + ", "
     + RelationshipType.PATH + " or " + RelationshipType.REFERENCE + " instead of " +
     oneToMany.type());
origin: org.chromattic/chromattic.ext

@OneToMany
public abstract Map<String, NTHierarchyNode> getChildren();
origin: org.gatein.mop/mop-core

@OneToMany
public abstract Map<String, NavigationImpl> getNavigationMap();
origin: org.gatein.mop/mop-core

@OneToMany
public abstract Map<String, T> getSites();
origin: org.gatein.wsrp/wsrp-jcr-impl

@OneToMany
public abstract List<ProducerInfoMapping> getProducerInfos();
origin: org.gatein.wsrp/wsrp-jcr-impl

@OneToMany
public abstract List<RegistrationPropertyMapping> getRegistrationProperties();
origin: org.gatein.wsrp/wsrp-jcr-impl

@OneToMany
public abstract List<ExportInfoMapping> getExportInfos();
origin: org.gatein.mop/mop-core

@OneToMany
public abstract List<NavigationImpl> getNavigationList();
origin: org.gatein.mop/mop-core

@OneToMany
public abstract Map<String, UIComponentImpl> getComponentMap();
origin: org.gatein.mop/mop-core

@OneToMany
public abstract List<UIComponentImpl> getComponentList();
origin: org.gatein.wsrp/wsrp-jcr-impl

@OneToMany
public abstract Collection<PortletContextMapping> getPortletContexts();
origin: org.gatein.wsrp/wsrp-jcr-impl

@OneToMany
protected abstract List<ExportErrorMapping> getErrors();
origin: org.chromattic/chromattic.ntdef

@OneToMany
public abstract Map<String, NTHierarchyNode> getChildren();
origin: org.gatein.wsrp/wsrp-jcr-impl

@OneToMany
public abstract Map<String, ProducerInfoMapping> getNameToProducerInfoMap();
origin: org.gatein.wsrp/wsrp-jcr-impl

@OneToMany
public abstract List<RegistrationMapping> getRegistrations();
origin: org.gatein.mop/mop-core

@OneToMany
public abstract Map<String, WorkspaceCustomization> getCustomizations();
origin: org.gatein.mop/mop-core

@OneToMany
public abstract Map<String, ContextType> getContextTypes();
origin: org.gatein.mop/mop-core

@OneToMany
public abstract Map<String, Attribute> getChildren();
org.chromattic.api.annotationsOneToMany

Most used methods

  • <init>
  • type

Popular in Java

  • Start an intent from android
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • putExtra (Intent)
  • getSharedPreferences (Context)
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Runner (org.openjdk.jmh.runner)
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now