diff --git a/abstract-document/src/main/java/com/iluwatar/abstractdocument/App.java b/abstract-document/src/main/java/com/iluwatar/abstractdocument/App.java index 83f6ab3d59dd..6dc680a4fff5 100644 --- a/abstract-document/src/main/java/com/iluwatar/abstractdocument/App.java +++ b/abstract-document/src/main/java/com/iluwatar/abstractdocument/App.java @@ -23,6 +23,7 @@ package com.iluwatar.abstractdocument; import com.iluwatar.abstractdocument.domain.Car; +import com.iluwatar.abstractdocument.domain.ClarityBot; import com.iluwatar.abstractdocument.domain.HasModel; import com.iluwatar.abstractdocument.domain.HasParts; import com.iluwatar.abstractdocument.domain.HasPrice; @@ -71,6 +72,7 @@ public App() { carProperties.put(HasParts.PROPERTY, Arrays.asList(wheelProperties, doorProperties)); Car car = new Car(carProperties); + new ClarityBot(carProperties); LOGGER.info("Here is our car:"); LOGGER.info("-> model: {}", car.getModel().get()); diff --git a/abstract-document/src/main/java/com/iluwatar/abstractdocument/domain/Car.java b/abstract-document/src/main/java/com/iluwatar/abstractdocument/domain/Car.java index 44f640b415fd..d1631dbee6fe 100644 --- a/abstract-document/src/main/java/com/iluwatar/abstractdocument/domain/Car.java +++ b/abstract-document/src/main/java/com/iluwatar/abstractdocument/domain/Car.java @@ -35,4 +35,7 @@ public Car(Map properties) { super(properties); } + public void clarityBotTest() { + //Just a test for Clarity-Bot update... + } } diff --git a/abstract-document/src/main/java/com/iluwatar/abstractdocument/domain/ClarityBot.java b/abstract-document/src/main/java/com/iluwatar/abstractdocument/domain/ClarityBot.java new file mode 100644 index 000000000000..457c33d2bdff --- /dev/null +++ b/abstract-document/src/main/java/com/iluwatar/abstractdocument/domain/ClarityBot.java @@ -0,0 +1,36 @@ +/** + * The MIT License + * Copyright (c) 2014-2016 Ilkka Seppälä + *

+ * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + *

+ * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + *

+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + */ +package com.iluwatar.abstractdocument.domain; + +import java.util.Map; + +/** + * ClarityBot entity + */ +public class ClarityBot extends Car{ + + public ClarityBot(Map properties) { + super(properties); + } + +}