Examples of Stereotype


Examples of cascading.bind.catalog.Stereotype

    {
    SchemaCatalog catalog = platformBroker.getSchemeCatalog();
    String schemaName = getOptions().getSchemaName();
    String stereotypeName = getOptions().getStereotypeName();
    SchemaDef schemaDef = getSchemaDefChecked( catalog, schemaName, true );
    Stereotype stereotype = schemaDef.getStereotypeChecked( stereotypeName );

    return new StereotypeBuilder().format( stereotype );
    }
View Full Code Here

Examples of cascading.bind.catalog.Stereotype

        currentSchemaDef = createGetSchemaDef( currentSchemaDef, split[ i ] );
        }

      name = split[ split.length - 1 ];

      Stereotype stereotype = new Stereotype( name, function.apply( tap ) );
      TableDef tableDef = new TableDef( currentSchemaDef, name, tap.getIdentifier(), stereotype );

      currentSchemaDef.addStereotype( stereotype );
      currentTapSchema.addTapTableFor( tableDef, getDefaultSchema() == null );
      }
View Full Code Here

Examples of cascading.bind.catalog.Stereotype

  private TableDef createTableFor( SchemaCatalogManager catalogManager, Ref head, String identifier )
    {
    String stereotypeName = head.name;
    SchemaCatalog schemaCatalog = catalogManager.getSchemaCatalog();
    Stereotype stereotype = schemaCatalog.getStereoTypeFor( null, head.fields );

    if( stereotype != null )
      stereotypeName = stereotype.getName();
    else
      schemaCatalog.createStereotype( null, stereotypeName, head.fields );

    Protocol protocol = schemaCatalog.getDefaultProtocol();
    Format format = schemaCatalog.getDefaultFormat();
View Full Code Here

Examples of javax.annotation.Stereotype

    }

    private void configureScopes(Class<?> clazz)
    {
        Asserts.nullCheckForClass(clazz);
        Stereotype type = clazz.getAnnotation(Stereotype.class);

        Class<? extends Annotation>[] supportedScopes = type.supportedScopes();
        this.supportedScopes = new HashSet<Class<? extends Annotation>>(Arrays.asList(supportedScopes));

    }
View Full Code Here

Examples of javax.annotation.Stereotype

    }

    private void configureTypes(Class<?> clazz)
    {
        Asserts.nullCheckForClass(clazz);
        Stereotype type = clazz.getAnnotation(Stereotype.class);
        this.restrictedTypes = new HashSet<Class<?>>(Arrays.asList(type.requiredTypes()));
    }
View Full Code Here

Examples of javax.annotation.Stereotype

    }

    private void configureTypes(Class<?> clazz)
    {
        Asserts.nullCheckForClass(clazz);
        Stereotype type = clazz.getAnnotation(Stereotype.class);
        this.restrictedTypes = new HashSet<Class<?>>(Arrays.asList(type.requiredTypes()));
    }
View Full Code Here

Examples of net.sf.minuteProject.configuration.bean.enrichment.Stereotype

public class PlayUtils {

  public boolean hasStereotype (Column column) {
    if (column!=null) {
      Stereotype stereotype = column.getStereotype();
      if (isPlayStereotype(stereotype))
        return true;
    }
    return false;
  }
View Full Code Here

Examples of net.sf.minuteProject.configuration.bean.enrichment.Stereotype

    }
    return false;
  }

  public String getStereotype(Column column) {
    Stereotype stereotype = column.getStereotype();
    if (isPlayStereotype(stereotype)) {
      return getStereotype(stereotype.getStereotype());
    }
    return null;
  }
View Full Code Here

Examples of org.eclipse.uml2.Stereotype

                if (visibility.equalsIgnoreCase("protected"))
                {
                    kind = VisibilityKind.PROTECTED_LITERAL;
                }
                property.setVisibility(kind);
                Stereotype stereotype =
                    UmlUtilities.findApplicableStereotype(
                        property,
                        UMLProfile.STEREOTYPE_IDENTIFIER);
                if (stereotype == null)
                {
View Full Code Here

Examples of org.eclipse.uml2.Stereotype

        final List names = new ArrayList();
        if (stereotypes != null)
        {
            for (final Iterator iterator = stereotypes.iterator(); iterator.hasNext();)
            {
                final Stereotype stereotype = (Stereotype)iterator.next();
                names.add(stereotype.getName());
            }
        }
        return names;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.