Package io.sundr.model
Class TypeParamDefFluent<A extends TypeParamDefFluent<A>>
- java.lang.Object
-
- io.sundr.builder.BaseFluent<A>
-
- io.sundr.model.AttributeSupportFluent<A>
-
- io.sundr.model.TypeParamDefFluent<A>
-
- Direct Known Subclasses:
MethodFluent.ParametersNested,TypeDefFluent.ParametersNested,TypeParamDefBuilder
public class TypeParamDefFluent<A extends TypeParamDefFluent<A>> extends AttributeSupportFluent<A>
Generated
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classTypeParamDefFluent.BoundsNested<N>
-
Constructor Summary
Constructors Constructor Description TypeParamDefFluent()TypeParamDefFluent(io.sundr.model.TypeParamDef instance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AaddAllToBounds(Collection<io.sundr.model.ClassRef> items)TypeParamDefFluent.BoundsNested<A>addNewBound()TypeParamDefFluent.BoundsNested<A>addNewBoundLike(io.sundr.model.ClassRef item)AaddToBounds(int index, io.sundr.model.ClassRef item)AaddToBounds(io.sundr.model.ClassRef... items)io.sundr.model.ClassRefbuildBound(int index)List<io.sundr.model.ClassRef>buildBounds()io.sundr.model.ClassRefbuildFirstBound()io.sundr.model.ClassRefbuildLastBound()io.sundr.model.ClassRefbuildMatchingBound(Predicate<ClassRefBuilder> predicate)protected voidcopyInstance(io.sundr.model.TypeParamDef instance)TypeParamDefFluent.BoundsNested<A>editBound(int index)TypeParamDefFluent.BoundsNested<A>editFirstBound()TypeParamDefFluent.BoundsNested<A>editLastBound()TypeParamDefFluent.BoundsNested<A>editMatchingBound(Predicate<ClassRefBuilder> predicate)booleanequals(Object o)StringgetName()booleanhasBounds()inthashCode()booleanhasMatchingBound(Predicate<ClassRefBuilder> predicate)booleanhasName()AremoveAllFromBounds(Collection<io.sundr.model.ClassRef> items)AremoveFromBounds(io.sundr.model.ClassRef... items)AremoveMatchingFromBounds(Predicate<ClassRefBuilder> predicate)TypeParamDefFluent.BoundsNested<A>setNewBoundLike(int index, io.sundr.model.ClassRef item)AsetToBounds(int index, io.sundr.model.ClassRef item)StringtoString()AwithBounds(io.sundr.model.ClassRef... bounds)AwithBounds(List<io.sundr.model.ClassRef> bounds)AwithName(String name)-
Methods inherited from class io.sundr.model.AttributeSupportFluent
addToAttributes, addToAttributes, copyInstance, getAttributes, hasAttributes, removeFromAttributes, removeFromAttributes, withAttributes
-
-
-
-
Method Detail
-
copyInstance
protected void copyInstance(io.sundr.model.TypeParamDef instance)
-
getName
public String getName()
-
hasName
public boolean hasName()
-
addToBounds
public A addToBounds(int index, io.sundr.model.ClassRef item)
-
setToBounds
public A setToBounds(int index, io.sundr.model.ClassRef item)
-
addToBounds
public A addToBounds(io.sundr.model.ClassRef... items)
-
addAllToBounds
public A addAllToBounds(Collection<io.sundr.model.ClassRef> items)
-
removeFromBounds
public A removeFromBounds(io.sundr.model.ClassRef... items)
-
removeAllFromBounds
public A removeAllFromBounds(Collection<io.sundr.model.ClassRef> items)
-
removeMatchingFromBounds
public A removeMatchingFromBounds(Predicate<ClassRefBuilder> predicate)
-
buildBounds
public List<io.sundr.model.ClassRef> buildBounds()
-
buildBound
public io.sundr.model.ClassRef buildBound(int index)
-
buildFirstBound
public io.sundr.model.ClassRef buildFirstBound()
-
buildLastBound
public io.sundr.model.ClassRef buildLastBound()
-
buildMatchingBound
public io.sundr.model.ClassRef buildMatchingBound(Predicate<ClassRefBuilder> predicate)
-
hasMatchingBound
public boolean hasMatchingBound(Predicate<ClassRefBuilder> predicate)
-
withBounds
public A withBounds(io.sundr.model.ClassRef... bounds)
-
hasBounds
public boolean hasBounds()
-
addNewBound
public TypeParamDefFluent.BoundsNested<A> addNewBound()
-
addNewBoundLike
public TypeParamDefFluent.BoundsNested<A> addNewBoundLike(io.sundr.model.ClassRef item)
-
setNewBoundLike
public TypeParamDefFluent.BoundsNested<A> setNewBoundLike(int index, io.sundr.model.ClassRef item)
-
editBound
public TypeParamDefFluent.BoundsNested<A> editBound(int index)
-
editFirstBound
public TypeParamDefFluent.BoundsNested<A> editFirstBound()
-
editLastBound
public TypeParamDefFluent.BoundsNested<A> editLastBound()
-
editMatchingBound
public TypeParamDefFluent.BoundsNested<A> editMatchingBound(Predicate<ClassRefBuilder> predicate)
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classAttributeSupportFluent<A extends TypeParamDefFluent<A>>
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAttributeSupportFluent<A extends TypeParamDefFluent<A>>
-
toString
public String toString()
- Overrides:
toStringin classAttributeSupportFluent<A extends TypeParamDefFluent<A>>
-
-