Codota Logo
NamingPrefix
Code IndexAdd Codota to your IDE (free)

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

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

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Connection c =
  • Codota IconDataSource dataSource;dataSource.getConnection()
  • Codota IconString url;DriverManager.getConnection(url)
  • Codota IconIdentityDatabaseUtil.getDBConnection()
  • Smart code suggestions by Codota
}
origin: org.gatein.mop/mop-core

/**
 * @author <a href="mailto:julien.viet@exoplatform.com">Julien Viet</a>
 * @version $Revision$
 */
@PrimaryType(name = "mop:contexttypecontainer")
@NamingPrefix("mop")
@FormattedBy(BaseEncodingObjectFormatter.class)
public abstract class ContextTypeContainer
{

  @OneToMany
  public abstract Map<String, ContextType> getContextTypes();

  @OneToOne
  @MappedBy("mop:contexttypes")
  public abstract AbstractCustomization getCustomization();

}

origin: org.chromattic/chromattic.metamodel

private RelationshipMapping.OneToMany.Hierarchic createHierarchicOneToMany(BeanMapping beanMapping, OneToMany annotation, PropertyInfo<BeanValueInfo, ?> property) {
 RelationshipMapping.OneToMany.Hierarchic mapping;
 NamingPrefix namingPrefix = property.getAnnotation(NamingPrefix.class);
 String declaredPrefix = namingPrefix != null ? namingPrefix.value() : null;
 String prefix = declaredPrefix == null ? beanMapping.getPrefix() : declaredPrefix;
 mapping = new RelationshipMapping.OneToMany.Hierarchic(property, declaredPrefix, prefix);
 mapping.relatedBeanMapping = resolve(property.getValue().getBean());
 return mapping;
}
origin: org.chromattic/chromattic.metamodel

private RelationshipMapping.ManyToOne.Hierarchic createHierarchicManyToOne(BeanMapping beanMapping, ManyToOne annotation, PropertyInfo<BeanValueInfo, ValueKind.Single> property) {
 RelationshipMapping.ManyToOne.Hierarchic mapping;
 NamingPrefix namingPrefix = property.getAnnotation(NamingPrefix.class);
 String declaredPrefix = namingPrefix != null ? namingPrefix.value() : null;
 String prefix = declaredPrefix == null ? beanMapping.getPrefix() : declaredPrefix;
 mapping = new RelationshipMapping.ManyToOne.Hierarchic(property, declaredPrefix, prefix);
 mapping.relatedBeanMapping = resolve(property.getValue().getBean());
 return mapping;
}
origin: org.gatein.mop/mop-core

/**
 * @author <a href="mailto:julien.viet@exoplatform.com">Julien Viet</a>
 * @version $Revision$
 */
@PrimaryType(name = "mop:contexttype")
@NamingPrefix("mop")
@FormattedBy(BaseEncodingObjectFormatter.class)
public abstract class ContextType
{

  @Name
  public abstract String getName();

  @OneToMany
  public abstract Map<String, ContextSpecialization> getSpecializations();

  @ManyToOne
  public abstract ContextTypeContainer getContainer();

}

origin: org.chromattic/chromattic.metamodel

String prefix = null;
if (namingPrefix != null) {
 prefix = namingPrefix.value();
origin: org.gatein.mop/mop-core

/**
 * @author <a href="mailto:julien.viet@exoplatform.com">Julien Viet</a>
 * @version $Revision$
 */
@PrimaryType(name = "mop:pagecontainer")
@NamingPrefix("mop")
@FormattedBy(BaseEncodingObjectFormatter.class)
public abstract class PageContainer
{

  @OneToOne
  @MappedBy("mop:children")
  public abstract PageImpl getOwner();

  @OneToMany
  public abstract Map<String, PageImpl> getPages();

  @Create
  public abstract PageImpl createPage();

  public PageImpl addPage(String name)
  {
   PageImpl page = createPage();
   getPages().put(name, page);
   return page;
  }
}

origin: org.chromattic/chromattic.metamodel

NamingPrefix namingPrefix = property.getAnnotation(NamingPrefix.class);
if (namingPrefix != null) {
 prefix = namingPrefix.value();
origin: org.chromattic/chromattic.metamodel

/**
 * @author <a href="mailto:julien.viet@exoplatform.com">Julien Viet</a>
 * @version $Revision$
 */
@NamingPrefix("foo")
@PrimaryType(name = "1")
public abstract class F1 {

 @OneToMany()
 public abstract Collection<F2> getChildren();

}
origin: org.chromattic/chromattic.metamodel

/**
 * @author <a href="mailto:julien.viet@exoplatform.com">Julien Viet</a>
 * @version $Revision$
 */
@NamingPrefix("foo")
@PrimaryType(name = "1")
public class G1 {
}

origin: org.chromattic/chromattic.core

 @NamingPrefix("onetomany_h_map")
 @OneToMany
 public abstract Map<String, B5> getChildren();
}
origin: org.chromattic/chromattic.core

@NamingPrefix("onetomany_h_map")
@ManyToOne
public abstract A5 getParent();
origin: org.chromattic/chromattic.metamodel

@Properties()
@NamingPrefix("foo")
public abstract Map<String, Object> getStringProperties();
origin: org.chromattic/chromattic.metamodel

@NamingPrefix("foo")
@OneToMany
public abstract Collection<E2> getChildren();
origin: org.chromattic/chromattic.core

@Properties
@NamingPrefix("property_map")
public abstract Map<String, Object> getProperties();
origin: org.gatein.mop/mop-core

@NamingPrefix("mop")
@FormattedBy(BaseEncodingObjectFormatter.class)
@PrimaryType(name = "foo")
origin: org.gatein.mop/mop-core

@NamingPrefix("mop")
@FormattedBy(BaseEncodingObjectFormatter.class)
public abstract class NavigationContainer
origin: org.gatein.mop/mop-core

@NamingPrefix("mop")
@FormattedBy(BaseEncodingObjectFormatter.class)
@PrimaryType(name = "mop:site")
origin: org.gatein.mop/mop-core

@NamingPrefix("mop")
@FormattedBy(BaseEncodingObjectFormatter.class)
public abstract class CustomizationContainer
origin: org.gatein.mop/mop-core

@NamingPrefix("mop")
@FormattedBy(BaseEncodingObjectFormatter.class)
@PrimaryType(name = "mop:workspaceobject")
origin: org.gatein.mop/mop-core

@NamingPrefix("mop")
@FormattedBy(BaseEncodingObjectFormatter.class)
@NamingPolicy(onDuplicate = NameConflictResolution.REPLACE)
org.chromattic.api.annotationsNamingPrefix

Most used methods

  • <init>
  • value

Popular in Java

  • Finding current android device location
  • startActivity (Activity)
  • compareTo (BigDecimal)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate(i
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • List (java.util)
    A List is a collection which maintains an ordering for its elements. Every element in the List has a
  • PriorityQueue (java.util)
    An unbounded priority Queue based on a priority heap. The elements of the priority queue are ordered
  • Collectors (java.util.stream)
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now