public DefaultPackageValidator setType(String type) { if (isValid()) { this.type += "." + type; } else { this.notParsedName += "." + type; } return this; }
public DefaultPackageValidator moveTo(LayerType layerType) { if (isValid()) { this.layerType = layerType; } return this; }
public DefaultPackageValidator moveTo(LocationType locationType) { if (isValid()) { this.locationType = locationType; } return this; }
public DefaultPackageValidator moveTo(LocationType locationType) { if (isValid()) { this.locationType = locationType; } return this; }
public DefaultPackageValidator clearType() { if (isValid()) { this.type = null; } return this; }
public DefaultPackageValidator setType(String type) { if (isValid()) { this.type += "." + type; } else { this.notParsedName += "." + type; } return this; }
public DefaultPackageValidator moveTo(LayerType layerType) { if (isValid()) { this.layerType = layerType; } return this; }
public DefaultPackageValidator moveTo(ImplementationType implementationType) { if (isValid()) { //TODO this.type = implementationType.getName(); } return this; }
@Override public String toString() { if (isValid()) { return group + "." + artifact + "." + locationType.getName() + "." + (business == null ? "" : (business + ".")) + layerType.getName() + (type == null ? "" : ("." + type)); } return notParsedName; }
@Override public String toString() { if (isValid()) { return group + "." + artifact + "." + locationType.getName() + "." + (business == null ? "" : (business + ".")) + layerType.getName() + (type == null ? "" : ("." + type)); } return notParsedName; }
public DefaultPackageValidator append(ImplementationType type) { if (isValid()) { this.type += "." + type.getName(); } else { this.notParsedName += "." + type.getName(); } return this; }
public DefaultPackageValidator append(ImplementationType type) { if (isValid()) { this.type += "." + type.getName(); } else { this.notParsedName += "." + type.getName(); } return this; }