in streampipes-model/src/main/java/org/apache/streampipes/model/util/Cloner.java [108:149]
public StaticProperty staticProperty(StaticProperty o) {
if (o instanceof FreeTextStaticProperty) {
return new FreeTextStaticProperty((FreeTextStaticProperty) o);
} else if (o instanceof RuntimeResolvableGroupStaticProperty) {
return new RuntimeResolvableGroupStaticProperty((RuntimeResolvableGroupStaticProperty) o);
} else if (o instanceof RuntimeResolvableOneOfStaticProperty) {
return new RuntimeResolvableOneOfStaticProperty((RuntimeResolvableOneOfStaticProperty) o);
} else if (o instanceof RuntimeResolvableAnyStaticProperty) {
return new RuntimeResolvableAnyStaticProperty((RuntimeResolvableAnyStaticProperty) o);
} else if (o instanceof OneOfStaticProperty) {
return new OneOfStaticProperty((OneOfStaticProperty) o);
} else if (o instanceof MappingPropertyNary) {
return new MappingPropertyNary((MappingPropertyNary) o);
} else if (o instanceof AnyStaticProperty) {
return new AnyStaticProperty((AnyStaticProperty) o);
} else if (o instanceof CollectionStaticProperty) {
return new CollectionStaticProperty((CollectionStaticProperty) o);
} else if (o instanceof MatchingStaticProperty) {
return new MatchingStaticProperty((MatchingStaticProperty) o);
} else if (o instanceof MappingPropertyUnary) {
return new MappingPropertyUnary((MappingPropertyUnary) o);
} else if (o instanceof StaticPropertyGroup) {
return new StaticPropertyGroup((StaticPropertyGroup) o);
} else if (o instanceof StaticPropertyAlternatives) {
return new StaticPropertyAlternatives((StaticPropertyAlternatives) o);
} else if (o instanceof SecretStaticProperty) {
return new SecretStaticProperty((SecretStaticProperty) o);
} else if (o instanceof FileStaticProperty) {
return new FileStaticProperty((FileStaticProperty) o);
} else if (o instanceof CodeInputStaticProperty) {
return new CodeInputStaticProperty((CodeInputStaticProperty) o);
} else if (o instanceof ColorPickerStaticProperty) {
return new ColorPickerStaticProperty((ColorPickerStaticProperty) o);
} else if (o instanceof SlideToggleStaticProperty) {
return new SlideToggleStaticProperty((SlideToggleStaticProperty) o);
} else if (o instanceof RuntimeResolvableTreeInputStaticProperty) {
return new RuntimeResolvableTreeInputStaticProperty((RuntimeResolvableTreeInputStaticProperty) o);
} else {
return new StaticPropertyAlternative((StaticPropertyAlternative) o);
}
}