Was added descriptive headings titles to source code files
This commit is contained in:
parent
076bddb32a
commit
09a13ba82d
@ -1,3 +1,18 @@
|
|||||||
|
/**
|
||||||
|
* Copyright © 2016-2018 The Thingsboard Authors
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
package org.thingsboard.server.controller;
|
package org.thingsboard.server.controller;
|
||||||
|
|
||||||
import org.junit.After;
|
import org.junit.After;
|
||||||
@ -15,6 +30,9 @@ import java.util.Arrays;
|
|||||||
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
|
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
|
||||||
import static org.thingsboard.server.dao.model.ModelConstants.NULL_UUID;
|
import static org.thingsboard.server.dao.model.ModelConstants.NULL_UUID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Created by Victor Basanets on 8/27/2017.
|
||||||
|
*/
|
||||||
public abstract class BaseEntityViewControllerTest extends AbstractControllerTest {
|
public abstract class BaseEntityViewControllerTest extends AbstractControllerTest {
|
||||||
|
|
||||||
private Tenant savedTenant;
|
private Tenant savedTenant;
|
||||||
|
|||||||
@ -16,6 +16,7 @@
|
|||||||
package org.thingsboard.server.controller.nosql;
|
package org.thingsboard.server.controller.nosql;
|
||||||
|
|
||||||
import org.thingsboard.server.controller.BaseEntityViewControllerTest;
|
import org.thingsboard.server.controller.BaseEntityViewControllerTest;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by Victor Basanets on 8/27/2017.
|
* Created by Victor Basanets on 8/27/2017.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -17,6 +17,7 @@ package org.thingsboard.server.controller.sql;
|
|||||||
|
|
||||||
import org.thingsboard.server.controller.BaseEntityViewControllerTest;
|
import org.thingsboard.server.controller.BaseEntityViewControllerTest;
|
||||||
import org.thingsboard.server.dao.service.DaoSqlTest;
|
import org.thingsboard.server.dao.service.DaoSqlTest;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by Victor Basanets on 8/27/2017.
|
* Created by Victor Basanets on 8/27/2017.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -1,3 +1,18 @@
|
|||||||
|
/**
|
||||||
|
* Copyright © 2016-2018 The Thingsboard Authors
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
package org.thingsboard.server.common.data;
|
package org.thingsboard.server.common.data;
|
||||||
|
|
||||||
import lombok.EqualsAndHashCode;
|
import lombok.EqualsAndHashCode;
|
||||||
@ -8,6 +23,9 @@ import org.thingsboard.server.common.data.id.TenantId;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Created by Victor Basanets on 8/27/2017.
|
||||||
|
*/
|
||||||
@EqualsAndHashCode(callSuper = true)
|
@EqualsAndHashCode(callSuper = true)
|
||||||
public class EntityView extends SearchTextBasedWithAdditionalInfo<EntityViewId>
|
public class EntityView extends SearchTextBasedWithAdditionalInfo<EntityViewId>
|
||||||
implements HasName, HasTenantId, HasCustomerId {
|
implements HasName, HasTenantId, HasCustomerId {
|
||||||
|
|||||||
@ -1,3 +1,18 @@
|
|||||||
|
/**
|
||||||
|
* Copyright © 2016-2018 The Thingsboard Authors
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
package org.thingsboard.server.common.data.id;
|
package org.thingsboard.server.common.data.id;
|
||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonCreator;
|
import com.fasterxml.jackson.annotation.JsonCreator;
|
||||||
@ -6,9 +21,11 @@ import org.thingsboard.server.common.data.EntityType;
|
|||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Created by Victor Basanets on 8/27/2017.
|
||||||
|
*/
|
||||||
public class EntityViewId extends UUIDBased implements EntityId {
|
public class EntityViewId extends UUIDBased implements EntityId {
|
||||||
|
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
@JsonCreator
|
@JsonCreator
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user