* 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
+ * 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,
* limitations under the License.
* ============LICENSE_END=========================================================
*/
+
package org.onap.aai.schemagen.swagger;
import java.util.List;
@Override
public String toString() {
- return "Definition{" +
- "definitionName='" + definitionName + '\'' +
- ", definitionDescription='" + definitionDescription + '\'' +
- ", propertyList=" + propertyList +
- '}';
+ return "Definition{" + "definitionName='" + getDefinitionName() + '\''
+ + ", definitionDescription='" + getDefinitionDescription() + '\'' + ", propertyList="
+ + getPropertyList() + '}';
}
public boolean isHasDescription() {
private boolean hasPropertyReference;
- public Property(){}
+ public Property() {
+ }
public String getPropertyName() {
return propertyName;
@Override
public String toString() {
- return "Property{" +
- "propertyName='" + propertyName + '\'' +
- ", propertyType='" + propertyType + '\'' +
- ", propertyReference='" + propertyReference + '\'' +
- '}';
+ return "Property{" + "propertyName='" + getPropertyName() + '\'' + ", propertyType='"
+ + getPropertyType() + '\'' + ", propertyReference='" + getPropertyReference() + '\''
+ + '}';
}
public boolean isHasType() {