congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
NamingPrefix
Code IndexAdd Tabnine 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)

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

  • Reading from database using SQL prepared statement
  • setScale (BigDecimal)
  • getExternalFilesDir (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • JCheckBox (javax.swing)
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Top 12 Jupyter Notebook extensions
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