Examples of Kind


Examples of OntoUML.Kind

        if (result == null) result = caseElement(generalizationSet);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case OntoUMLPackage.KIND: {
        Kind kind = (Kind)theEObject;
        T result = caseKind(kind);
        if (result == null) result = caseSubstanceSortal(kind);
        if (result == null) result = caseRigidSortalClass(kind);
        if (result == null) result = caseSortalClass(kind);
        if (result == null) result = caseObjectClass(kind);
View Full Code Here

Examples of OntoUML.Kind

     * <!-- end-user-doc -->
     * @generated NOT
     */
    private void updateContents(KindEditPart kindeditpart) {

      Kind s = (Kind) ((View) kindeditpart.getModel()).getElement();
      for (int i = 0; i < s.getAttribute().size(); i++) {
        Property p1 = (Property) s.getAttribute().get(i);
        if (p1.getAttribute().size() >= 2) {
          DatatypeAssociation d = (DatatypeAssociation) p1
              .getAttribute().get(0);
          Property p2 = (Property) p1.getAttribute().get(1);
          d.setOwner(null);
          d.setContainer(s.getContainer());
          d.setName("Name");
          p1.setAssociationEnd(d);
          p1.setName("Name");
          p2.setAssociationEnd(d);
          p2.setOwner(d);
View Full Code Here

Examples of base.drawable.Kind

    public static final void main( String[] args )
    {
        PipedInputLog      dobj_ins;
        OutputLog          slog_outs;
        Kind               next_kind;
        Topology           topo;
        CategoryMap        objdefs;   // Drawable def'n
        Map                shadefs;   // Shadow   def'n
        Category           objdef;
        LineIDMapList      lineIDmaps;
View Full Code Here

Examples of base.drawable.Kind

    public static final void main( String[] args )
    {
        WrappedInputLog    dobj_ins;
        OutputLog          slog_outs;
        Kind               next_kind;
        Topology           topo;
        CategoryMap        objdefs;   // Drawable def'n
        Map                shadefs;   // Shadow   def'n
        Category           objdef;
        LineIDMapList      lineIDmaps;
View Full Code Here

Examples of com.asakusafw.dmdl.thundergate.view.model.CreateView.Kind

        // 先に外部依存関係を解決してcontextに登録する
        if (resolveDependency(target, repository, context) == false) {
            return null;
        }

        Kind kind = target.getKind();
        if (kind == Kind.JOINED) {
            return transformJoined(target, context);
        } else if (kind == Kind.SUMMARIZED) {
            return transformSummarized(target, context);
        } else {
View Full Code Here

Examples of com.asakusafw.modelgen.view.model.CreateView.Kind

        // 先に外部依存関係を解決してcontextに登録する
        if (resolveDependency(ast, repository, context) == false) {
            return null;
        }

        Kind kind = ast.getKind();
        if (kind == Kind.JOINED) {
            return transformJoined(target, context);
        } else if (kind == Kind.SUMMARIZED) {
            return transformSummarized(target, context);
        } else {
View Full Code Here

Examples of com.dooapp.gaedo.blueprints.Kind

    try {
      if (Literals.containsKey(valueClass)) {
        // some literals aren't so ... literal, as they can accept
        // incoming connections (like classes)
        LiteralTransformer literalTransformer = Literals.get(valueClass);
        Kind kind = literalTransformer.getKind();
        returned = database.addVertex(kind.getURIFor(vertexId, valueClass));
        if (Kind.literal.equals(kind)) {
          returned.setProperty(Properties.type.name(), TypeUtils.getType(valueClass));
        }
      } else {
        if (repository.containsKey(valueClass)) {
View Full Code Here

Examples of com.dooapp.gaedo.blueprints.Kind

   * @param value
   * @see com.dooapp.gaedo.blueprints.AbstractBluePrintsBackedFinderService#setValue(com.tinkerpop.blueprints.pgm.Vertex, java.lang.Object)
   */
  @Override
  protected void setValue(Vertex vertex, Object value) {
    Kind vertexKind = GraphUtils.getKindOf(vertex);
    switch(vertexKind) {
    case literal:
      vertex.setProperty(Properties.value.name(), value);
      break;
    case uri:
View Full Code Here

Examples of com.dooapp.gaedo.blueprints.Kind

    }
  }

  @Override
  protected Object getValue(Vertex vertex) {
    Kind vertexKind = GraphUtils.getKindOf(vertex);
    switch(vertexKind) {
    case literal:
      return vertex.getProperty(Properties.value.name());
    case bnode:
    case uri:
      return vertexKind.extractValueOf(vertex.getId().toString());
    default:
      return null;
    }
  }
View Full Code Here

Examples of com.dooapp.gaedo.blueprints.Kind

    Iterator<Vertex> matching = matchingIterable.iterator();
    if (matching.hasNext()) {
      while (matching.hasNext()) {
        Vertex vertex = matching.next();
        String vertexTypeName = null;
        Kind vertexKind = null;
        String vertexId = null;
        try {
          /// BEWARE : order is signifiant here : read id then kind then type for catch clauses to work correctly
          vertexId = matcher.getIdOf(vertex);
          vertexKind = matcher.getKindOf(vertex);
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.