content stringlengths 263 5.24M | pred_label stringclasses 1
value | pred_score_pos float64 0.6 1 |
|---|---|---|
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule } from "@angular/forms";
import { ModelModule } from "../model/model.module";
import { TableComponent } from "./table.component";
import { FormComponent } from "./form.component";
import { Subject }... | __label__POS | 0.719651 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { ProductComponent } from "./component";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { PaAttrDirective } from "./attr.directive";
import { PaModel } from "./twoway.directive";
impor... | __label__POS | 0.811905 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor() {
this.dataSource = new SimpleDataSo... | __label__POS | 0.891078 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor() {
this.dataSource = new SimpleDataSo... | __label__POS | 0.891078 |
import {
Component, Output, EventEmitter, ViewEncapsulation,
Inject, SkipSelf
} from "@angular/core";
import { Product } from "../model/product.model";
import { ProductFormGroup } from "../model/form.model";
import { Model } from "../model/repository.model";
import { VALUE_SERVICE } from "../common/valueDisplay... | __label__POS | 0.634957 |
import { Directive, HostBinding, Input,
SimpleChange, KeyValueDiffer, KeyValueDiffers,
ChangeDetectorRef } from "@angular/core";
import { DiscountService } from "./discount.service";
@Directive({
selector: "td[pa-price]",
exportAs: "discount"
})
export class PaDiscountAmountDirective {
private diff... | __label__POS | 0.615057 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor() {
this.dataSource = new SimpleDataS... | __label__POS | 0.8745 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor() {
this.dataSource = new SimpleDataSo... | __label__POS | 0.90246 |
"use strict";
var product_model_1 = require("./product.model");
var datasource_model_1 = require("./datasource.model");
var Model = (function () {
function Model() {
var _this = this;
this.locator = function (p, id) { return p.id == id; };
this.dataSource = new datasource_model_1.SimpleDataS... | __label__POS | 0.869977 |
import { Injectable } from "@angular/core";
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
@Injectable()
export class Model {
//private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p:Product, id:number) => p.id == id;
... | __label__POS | 0.882379 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor() {
this.dataSource = new SimpleDataSo... | __label__POS | 0.90246 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor() {
this.dataSource = new SimpleDataSo... | __label__POS | 0.891078 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { ProductComponent } from "./component";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { PaAttrDirective } from "./attr.directive";
import { PaModel } from "./twoway.directive";
impor... | __label__POS | 0.811905 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule } from "@angular/forms";
import { ModelModule } from "../model/model.module";
import { TableComponent } from "./table.component";
import { FormComponent } from "./form.component";
import { SharedSt... | __label__POS | 0.621364 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor() {
this.dataSource = new SimpleDataSo... | __label__POS | 0.891078 |
import { Injectable } from "@angular/core";
import { Product } from "./product.model";
import { StaticDataSource } from "./static.datasource";
@Injectable()
export class Model {
private products: Product[];
private locator = (p: Product, id?: number) => p.id == id;
constructor(private dataSource: StaticDa... | __label__POS | 0.870452 |
import { Injectable } from "@angular/core";
import { Product } from "./product.model";
import { StaticDataSource } from "./static.datasource";
@Injectable()
export class Model {
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor(private dataSource: StaticDa... | __label__POS | 0.861969 |
import { Directive, HostBinding, Input,
SimpleChange, KeyValueDiffer, KeyValueDiffers,
ChangeDetectorRef } from "@angular/core";
import { DiscountService } from "./discount.service";
@Directive({
selector: "td[pa-price]",
exportAs: "discount"
})
export class PaDiscountAmountDirective {
private diff... | __label__POS | 0.615057 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule } from "@angular/forms";
import { ModelModule } from "../model/model.module";
import { TableComponent } from "./table.component";
import { FormComponent } from "./form.component";
import { SharedSta... | __label__POS | 0.658084 |
import {
Component, Output, EventEmitter, ViewEncapsulation,
Inject, SkipSelf
} from "@angular/core";
import { Product } from "./product.model";
import { ProductFormGroup } from "./form.model";
import { Model } from "./repository.model";
import { VALUE_SERVICE } from "./valueDisplay.directive";
@Component({
... | __label__POS | 0.617305 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { ProductComponent } from "./component";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { PaAttrDirective } from "./attr.directive";
import { PaModel } from "./twoway.directive";
impor... | __label__POS | 0.780208 |
<!--
Created by IntelliJ IDEA.
User: iulianacosmina
Date: 2019-07-14
Time: 11:43
-->
<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org" th:with="lang=${#locale.language}, theme=${#themes.code('name')}" th:lang="${lang}" th:theme="${theme}">
<head th:fragment="cemsHead(title)">
<link rel="icon" type="image/pn... | __label__POS | 0.658662 |
import { Injectable } from "@angular/core";
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
@Injectable()
export class Model {
//private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p:Product, id:number) => p.id == id;
... | __label__POS | 0.882379 |
import { Injectable } from "@angular/core";
import { Product } from "./product.model";
import { StaticDataSource } from "./static.datasource";
@Injectable()
export class Model {
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor(private dataSource: StaticDat... | __label__POS | 0.877568 |
import { Injectable } from "@angular/core";
import { Product } from "./product.model";
import { StaticDataSource } from "./static.datasource";
@Injectable()
export class Model {
private products: Product[];
private locator = (p: Product, id?: number) => p.id == id;
constructor(private dataSource: StaticDa... | __label__POS | 0.870452 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor() {
this.dataSource = new SimpleDataSo... | __label__POS | 0.891078 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor() {
this.dataSource = new SimpleDataS... | __label__POS | 0.8745 |
"use strict";
var product_model_1 = require("./product.model");
var datasource_model_1 = require("./datasource.model");
var Model = (function () {
function Model() {
var _this = this;
this.locator = function (p, id) { return p.id == id; };
this.dataSource = new datasource_model_1.SimpleDataS... | __label__POS | 0.869977 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
import { Injectable } from "@angular/core";
@Injectable()
export class Model {
// private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number | any) => p.id == ... | __label__POS | 0.826711 |
package com.apress.cems.util;
import javax.validation.constraints.NotEmpty;
/**
* Created by iuliana.cosmina on 3/30/15.
*/
public class CriteriaDto {
private String fieldName;
@NotEmpty
private String fieldValue;
private Boolean exactMatch;
/**
* Field needed just to communicate a mes... | __label__POS | 0.660212 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor() {
this.dataSource = new SimpleDataSo... | __label__POS | 0.90246 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor() {
this.dataSource = new SimpleDataSo... | __label__POS | 0.891078 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor() {
this.dataSource = new SimpleDataSo... | __label__POS | 0.90246 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor() {
this.dataSource = new SimpleDataS... | __label__POS | 0.889407 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
import { Injectable } from "@angular/core";
@Injectable()
export class Model {
// private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number | any) => p.id == ... | __label__POS | 0.826711 |
"use strict";
var datasource_model_1 = require("./datasource.model");
var Model = (function () {
function Model() {
var _this = this;
this.locator = function (p, id) { return p.id == id; };
this.dataSource = new datasource_model_1.SimpleDataSource();
this.products = new Array();
... | __label__POS | 0.843003 |
import { Injectable } from "@angular/core";
import {
ActivatedRouteSnapshot, RouterStateSnapshot,
Router
} from "@angular/router";
import { Observable, Subject } from "rxjs";
import { MessageService } from "../messages/message.service";
import { Message } from "../messages/message.model";
import { FormComponen... | __label__POS | 0.833622 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule } from "@angular/forms";
import { ModelModule } from "../model/model.module";
import { TableComponent } from "./table.component";
import { FormComponent } from "./form.component";
import { Subject }... | __label__POS | 0.711094 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor() {
this.dataSource = new SimpleDataS... | __label__POS | 0.889407 |
"use strict";
var datasource_model_1 = require("./datasource.model");
var Model = (function () {
function Model() {
var _this = this;
this.locator = function (p, id) { return p.id == id; };
this.dataSource = new datasource_model_1.SimpleDataSource();
this.products = new Array();
... | __label__POS | 0.843003 |
import { Injectable } from "@angular/core";
import { Product } from "./product.model";
import { StaticDataSource } from "./static.datasource";
@Injectable()
export class Model {
private products: Product[];
private locator = (p: Product, id?: number) => p.id == id;
constructor(private dataSource: StaticDa... | __label__POS | 0.870452 |
import { Injectable } from "@angular/core";
import {
ActivatedRouteSnapshot, RouterStateSnapshot,
Router
} from "@angular/router";
import { Observable, Subject } from "rxjs";
import { MessageService } from "../messages/message.service";
import { Message } from "../messages/message.model";
import { FormComponent... | __label__POS | 0.833622 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor() {
this.dataSource = new SimpleDataSo... | __label__POS | 0.891078 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule } from "@angular/forms";
import { ModelModule } from "../model/model.module";
import { TableComponent } from "./table.component";
import { FormComponent } from "./form.component";
import { Subject }... | __label__POS | 0.711094 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { ProductComponent } from "./component";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { PaAttrDirective } from "./attr.directive";
import { PaModel } from "./twoway.directive";
impor... | __label__POS | 0.811905 |
import { Injectable } from "@angular/core";
import { Product } from "./product.model";
import { StaticDataSource } from "./static.datasource";
@Injectable()
export class Model {
private products: Product[];
private locator = (p: Product, id?: number) => p.id == id;
constructor(private dataSource: StaticDa... | __label__POS | 0.870452 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor() {
this.dataSource = new SimpleDataSo... | __label__POS | 0.891078 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor() {
this.dataSource = new SimpleDataSo... | __label__POS | 0.891078 |
import { Directive, HostBinding, Input,
SimpleChange, KeyValueDiffer, KeyValueDiffers,
ChangeDetectorRef } from "@angular/core";
import { DiscountService } from "./discount.service";
@Directive({
selector: "td[pa-price]",
exportAs: "discount"
})
export class PaDiscountAmountDirective {
private diff... | __label__POS | 0.615057 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule } from "@angular/forms";
import { ModelModule } from "../model/model.module";
import { TableComponent } from "./table.component";
import { FormComponent } from "./form.component";
import { Subject ... | __label__POS | 0.679859 |
import { Component, Output, EventEmitter, ViewEncapsulation } from "@angular/core";
import { Product } from "./product.model";
import { ProductFormGroup } from "./form.model";
import { Model } from "./repository.model";
@Component({
selector: "paProductForm",
templateUrl: "productForm.component.html",
//st... | __label__POS | 0.74661 |
import { Injectable } from "@angular/core";
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
@Injectable()
export class Model {
//private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p:Product, id:number) => p.id == id;
... | __label__POS | 0.882379 |
import { Injectable } from "@angular/core";
import {
ActivatedRouteSnapshot, RouterStateSnapshot,
Router
} from "@angular/router";
import { Observable, Subject } from "rxjs";
import { MessageService } from "../messages/message.service";
import { Message } from "../messages/message.model";
import { FormComponent... | __label__POS | 0.81237 |
<!--
Created by IntelliJ IDEA.
User: iulianacosmina
Date: 2019-07-14
Time: 11:43
-->
<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org" th:with="lang=${#locale.language}, theme=${#themes.code('name')}" th:lang="${lang}" th:theme="${theme}">
<head th:fragment="cemsHead(title)">
<link rel="icon" type="image/pn... | __label__POS | 0.778147 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule } from "@angular/forms";
import { ModelModule } from "../model/model.module";
import { TableComponent } from "./table.component";
import { FormComponent } from "./form.component";
import { SharedSta... | __label__POS | 0.658084 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { ModelModule } from "../model/model.module";
import { TableComponent } from "./table.component";
import { FormComponent } from "./form.component... | __label__POS | 0.716222 |
import { Injectable } from "@angular/core";
import {
ActivatedRouteSnapshot, RouterStateSnapshot,
Router
} from "@angular/router";
import { Observable, Subject } from "rxjs";
import { MessageService } from "../messages/message.service";
import { Message } from "../messages/message.model";
import { FormComponent... | __label__POS | 0.833622 |
package com.practicalddd.cargotracker.tracking.interfaces.events;
import com.practicalddd.cargotracker.shareddomain.events.CargoHandledEvent;
import com.practicalddd.cargotracker.shareddomain.events.CargoHandledEventData;
import com.practicalddd.cargotracker.tracking.application.internal.commandservices.AssignTracking... | __label__POS | 0.769989 |
package com.practicalddd.cargotracker.tracking.interfaces.events;
import com.practicalddd.cargotracker.shareddomain.events.CargoRoutedEvent;
import com.practicalddd.cargotracker.tracking.application.internal.commandservices.AssignTrackingIdCommandService;
import com.practicalddd.cargotracker.tracking.interfaces.events... | __label__POS | 0.890584 |
package com.practicalddd.cargotracker.tracking.interfaces.events.transform;
import com.practicalddd.cargotracker.shareddomain.events.CargoHandledEvent;
import com.practicalddd.cargotracker.shareddomain.events.CargoHandledEventData;
import com.practicalddd.cargotracker.tracking.domain.model.commands.AddTrackingEventCom... | __label__POS | 0.999958 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule } from "@angular/forms";
import { ModelModule } from "../model/model.module";
import { TableComponent } from "./table.component";
import { FormComponent } from "./form.component";
import { Subject }... | __label__POS | 0.711094 |
package com.practicalddd.cargotracker.tracking.domain.model.commands;
import java.util.Date;
/**
* Add Tracking Event Command
*/
public class AddTrackingEventCommand {
private String bookingId;
private Date eventTime;
private String eventType;
private String location;
private String voyageNumber... | __label__POS | 0.779724 |
import { Injectable } from "@angular/core";
import {
ActivatedRouteSnapshot, RouterStateSnapshot,
Router
} from "@angular/router";
import { Observable, Subject } from "rxjs";
import { MessageService } from "../messages/message.service";
import { Message } from "../messages/message.model";
import { FormComponent... | __label__POS | 0.81237 |
package com.practicalddd.cargotracker.tracking.domain.model.valueobjects;
import javax.persistence.*;
import java.util.Date;
/**
* Tracking Event Details
*/
@Entity
@Table(name="tracking_handling_events")
public class TrackingEvent {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long ... | __label__POS | 0.970004 |
import { Injectable } from "@angular/core";
import { Product } from "./product.model";
import { StaticDataSource } from "./static.datasource";
@Injectable()
export class Model {
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor(private dataSource: StaticDat... | __label__POS | 0.877568 |
package com.practicalddd.cargotracker.tracking.infrastructure.repositories.jpa;
import com.practicalddd.cargotracker.tracking.domain.model.aggregates.TrackingActivity;
import com.practicalddd.cargotracker.tracking.domain.model.aggregates.TrackingNumber;
import com.practicalddd.cargotracker.tracking.domain.model.entit... | __label__POS | 0.654009 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor() {
this.dataSource = new SimpleDataS... | __label__POS | 0.8745 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { ModelModule } from "../model/model.module";
import { TableComponent } from "./table.component";
import { FormComponent } from "./form.component... | __label__POS | 0.716222 |
package com.practicalddd.cargotracker.routing.interfaces.rest;
import com.practicalddd.cargotracker.routing.application.internal.queryservices.CargoRoutingQueryService;
import com.practicalddd.cargotracker.routing.domain.model.aggregates.Voyage;
import com.practicalddd.cargotracker.routing.domain.model.entities.Carri... | __label__POS | 0.918413 |
"use strict";
var product_model_1 = require("./product.model");
var datasource_model_1 = require("./datasource.model");
var Model = (function () {
function Model() {
var _this = this;
this.locator = function (p, id) { return p.id == id; };
this.dataSource = new datasource_model_1.SimpleDataS... | __label__POS | 0.869977 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor() {
this.dataSource = new SimpleDataSo... | __label__POS | 0.891078 |
package com.apress.cems.kotlin
import org.junit.jupiter.api.Test
import org.assertj.core.api.Assertions.assertThat
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.boot.test.autoconfigure.orm.jpa.DataJpaTest
import org.springframework.boot.test.autoconfigure.orm.jpa.TestEntityMa... | __label__POS | 0.98796 |
import { ApplicationRef, Component } from "@angular/core";
import { Model } from "./repository.model";
import { Product } from "./product.model";
@Component({
selector: "app",
templateUrl: "template.html"
})
export class ProductComponent {
model: Model = new Model();
constructor(ref: ApplicationRef) {... | __label__POS | 0.711826 |
package com.practicalddd.cargotracker.routing.infrastructure.repositories.jpa;
import com.practicalddd.cargotracker.routing.domain.model.aggregates.Voyage;
import javax.enterprise.context.ApplicationScoped;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import java.util.List;
i... | __label__POS | 0.996354 |
package com.practicalddd.cargotracker.shareddomain.events;
import java.util.Date;
/**
* Event Data for the Cargo Handled Event
*/
public class CargoHandledEventData {
private String bookingId;
private String handlingType;
private Date handlingCompletionTime;
private String handlingLocation;
priv... | __label__POS | 0.719353 |
package com.practicalddd.cargotracker.booking.application.internal.queryservices;
import com.practicalddd.cargotracker.booking.domain.model.aggregates.BookingId;
import com.practicalddd.cargotracker.booking.domain.model.aggregates.Cargo;
import com.practicalddd.cargotracker.booking.infrastructure.repositories.jpa.Car... | __label__POS | 0.996202 |
import { Directive, HostBinding, Input,
SimpleChange, KeyValueDiffer, KeyValueDiffers,
ChangeDetectorRef } from "@angular/core";
import { DiscountService } from "./discount.service";
@Directive({
selector: "td[pa-price]",
exportAs: "discount"
})
export class PaDiscountAmountDirective {
private diff... | __label__POS | 0.615057 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule } from "@angular/forms";
import { ModelModule } from "../model/model.module";
import { TableComponent } from "./table.component";
import { FormComponent } from "./form.component";
import { Subject }... | __label__POS | 0.719651 |
<!--
Created by IntelliJ IDEA.
User: iulianacosmina
Date: 2019-07-14
Time: 11:43
-->
<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org" th:with="lang=${#locale.language}, theme=${#themes.code('name')}" th:lang="${lang}" th:theme="${theme}">
<head th:fragment="cemsHead(title)">
<link rel="icon" type="image/pn... | __label__POS | 0.731719 |
package com.practicalddd.cargotracker.booking.interfaces.rest;
import com.practicalddd.cargotracker.booking.application.internal.commandservices.CargoBookingCommandService;
import com.practicalddd.cargotracker.booking.domain.model.aggregates.BookingId;
import com.practicalddd.cargotracker.booking.interfaces.rest.dto.B... | __label__POS | 0.730037 |
package com.practicalddd.cargotracker.booking.interfaces.rest;
import com.practicalddd.cargotracker.booking.application.internal.commandservices.CargoBookingCommandService;
import com.practicalddd.cargotracker.booking.interfaces.rest.dto.RouteCargoResource;
import com.practicalddd.cargotracker.booking.interfaces.rest.... | __label__POS | 0.862191 |
package com.practicalddd.cargotracker.booking.interfaces.rest.dto;
import java.time.LocalDate;
/**
* Resource class for the Book Cargo Command API
*/
public class BookCargoResource {
private int bookingAmount;
private String originLocation;
private String destLocation;
private LocalDate destArrival... | __label__POS | 0.692907 |
import { Injectable } from "@angular/core";
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
@Injectable()
export class Model {
//private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p:Product, id:number) => p.id == id;
... | __label__POS | 0.882379 |
package com.practicalddd.cargotracker.booking.domain.model.commands;
import java.util.Date;
/**
* Book Cargo Command class
*/
public class BookCargoCommand {
private String bookingId;
private int bookingAmount;
private String originLocation;
private String destLocation;
private Date destArrivalD... | __label__POS | 0.812781 |
package com.practicalddd.cargotracker.booking.domain.model.valueobjects;
import javax.persistence.Column;
import javax.persistence.Embeddable;
@Embeddable
public class LastCargoHandledEvent {
@Column(name="last_handling_event_id")
private Integer handlingEventId;
@Column(name="last_handling_event_type")... | __label__POS | 0.977205 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule } from "@angular/forms";
import { ModelModule } from "../model/model.module";
import { TableComponent } from "./table.component";
import { FormComponent } from "./form.component";
import { SharedSta... | __label__POS | 0.658084 |
package com.apress.cems.kotlin
import org.springframework.data.jpa.repository.JpaRepository
import org.springframework.data.jpa.repository.Query
import org.springframework.data.repository.query.Param
import java.time.LocalDateTime
import java.util.*
/**
* @author Iuliana Cosmina
* @since 1.0
*/
interface PersonRep... | __label__POS | 0.951046 |
package com.practicalddd.cargotracker.booking.infrastructure.services.http;
import javax.enterprise.context.ApplicationScoped;
import javax.ws.rs.*;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.core.MediaType;
import com.practicalddd.cargotracker.shareddomain.model.Tra... | __label__POS | 0.679208 |
import { Injectable } from "@angular/core";
import { Product } from "./product.model";
import { StaticDataSource } from "./static.datasource";
@Injectable()
export class Model {
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor(private dataSource: StaticDat... | __label__POS | 0.877568 |
package com.practicalddd.cargotracker.handling.interfaces.rest;
import com.practicalddd.cargotracker.handling.application.internal.commandservices.HandlingActivityRegistrationCommandService;
import com.practicalddd.cargotracker.handling.interfaces.rest.dto.HandlingActivityRegistrationResource;
import com.practicalddd... | __label__POS | 0.70109 |
import { Directive, HostBinding, Input,
SimpleChange, KeyValueDiffer, KeyValueDiffers,
ChangeDetectorRef } from "@angular/core";
import { DiscountService } from "./discount.service";
@Directive({
selector: "td[pa-price]",
exportAs: "discount"
})
export class PaDiscountAmountDirective {
private diff... | __label__POS | 0.615057 |
package com.practicalddd.cargotracker.handling.interfaces.rest.dto;
import java.time.LocalDate;
public class HandlingActivityRegistrationResource {
private String bookingId;
private String voyageNumber;
private String unLocode;
private String handlingType;
private LocalDate completionTime;
p... | __label__POS | 0.61534 |
import { Injectable } from "@angular/core";
import {
ActivatedRouteSnapshot, RouterStateSnapshot,
Router
} from "@angular/router";
import { Observable } from "rxjs/Observable";
import { Subject } from "rxjs/Subject";
import { MessageService } from "../messages/message.service";
import { Message } from "../mess... | __label__POS | 0.791134 |
package com.practicalddd.cargotracker.handling.interfaces.rest.transform;
import com.practicalddd.cargotracker.handling.domain.model.commands.HandlingActivityRegistrationCommand;
import com.practicalddd.cargotracker.handling.interfaces.rest.dto.HandlingActivityRegistrationResource;
/**
* Assembler class to convert ... | __label__POS | 0.999988 |
package com.practicalddd.cargotracker.handling.domain.model.commands;
import java.util.Date;
/**
* Command to Register an Handling Activity
*/
public class HandlingActivityRegistrationCommand {
private Date completionTime;
private String bookingId;
private String voyageNumber;
private String unLoco... | __label__POS | 0.696932 |
import { Injectable } from "@angular/core";
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
@Injectable()
export class Model {
//private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p:Product, id:number) => p.id == id;
... | __label__POS | 0.882379 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule } from "@angular/forms";
import { ModelModule } from "../model/model.module";
import { TableComponent } from "./table.component";
import { FormComponent } from "./form.component";
import { Subject ... | __label__POS | 0.673125 |
package com.practicalddd.cargotracker.handling.domain.model.valueobjects;
import com.practicalddd.cargotracker.handling.domain.model.aggregates.HandlingActivity;
import java.util.*;
public class HandlingActivityHistory {
private final List<HandlingActivity> handlingEvents;
// Null object pattern.
public... | __label__POS | 0.993875 |
package com.practicalddd.cargotracker.handling.infrastructure.repositories.jpa;
import com.practicalddd.cargotracker.handling.domain.model.aggregates.HandlingActivity;
import com.practicalddd.cargotracker.handling.domain.model.valueobjects.HandlingActivityHistory;
import javax.enterprise.context.ApplicationScoped;
i... | __label__POS | 0.9944 |
package com.apress.cems.util;
import javax.validation.constraints.NotEmpty;
/**
* Created by iuliana.cosmina on 3/30/15.
*/
public class CriteriaDto {
@NotEmpty
private String fieldName;
@NotEmpty
private String fieldValue;
private Boolean exactMatch;
/**
* Field needed just to com... | __label__POS | 0.635522 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.