/** * Checks if {@link io.sundr.codegen.model.JavaType} has the BUILDABLE attribute set to true. * * @param item The type to check. * @return */ public static boolean isBuildable(AttributeSupport item) { if (item == null) { return false; } else if (item.getAttributes().containsKey(BUILDABLE)) { return (Boolean) item.getAttributes().get(BUILDABLE); } return false; }
public AttributeSupportBuilder(AttributeSupport instance) { this.fluent = this; this.withAttributes(instance.getAttributes()); }
public AttributeSupportFluentImpl(AttributeSupport instance){ this.withAttributes(instance.getAttributes()); }
public AttributeSupportBuilder(AttributeSupportFluent<?> fluent, AttributeSupport instance) { this.fluent = fluent; fluent.withAttributes(instance.getAttributes()); }