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>
-
Field Summary
-
Fields inherited from class io.sundr.builder.BaseFluent
_visitables
-
-
Constructor Summary
Constructors Constructor Description TypeParamDefFluent()TypeParamDefFluent(TypeParamDef instance)
-
Method Summary
-
Methods inherited from class io.sundr.model.AttributeSupportFluent
addToAttributes, addToAttributes, copyInstance, getAttributes, hasAttributes, removeFromAttributes, removeFromAttributes, withAttributes
-
Methods inherited from class io.sundr.builder.BaseFluent
aggregate, aggregate, build, build, builderOf, getVisitableMap
-
-
-
-
Constructor Detail
-
TypeParamDefFluent
public TypeParamDefFluent()
-
TypeParamDefFluent
public TypeParamDefFluent(TypeParamDef instance)
-
-
Method Detail
-
copyInstance
protected void copyInstance(TypeParamDef instance)
-
getName
public String getName()
-
hasName
public boolean hasName()
-
addAllToBounds
public A addAllToBounds(Collection<ClassRef> items)
-
removeAllFromBounds
public A removeAllFromBounds(Collection<ClassRef> items)
-
removeMatchingFromBounds
public A removeMatchingFromBounds(Predicate<ClassRefBuilder> predicate)
-
buildBound
public ClassRef buildBound(int index)
-
buildFirstBound
public ClassRef buildFirstBound()
-
buildLastBound
public ClassRef buildLastBound()
-
buildMatchingBound
public ClassRef buildMatchingBound(Predicate<ClassRefBuilder> predicate)
-
hasMatchingBound
public boolean hasMatchingBound(Predicate<ClassRefBuilder> predicate)
-
hasBounds
public boolean hasBounds()
-
addNewBound
public TypeParamDefFluent.BoundsNested<A> addNewBound()
-
addNewBoundLike
public TypeParamDefFluent.BoundsNested<A> addNewBoundLike(ClassRef item)
-
setNewBoundLike
public TypeParamDefFluent.BoundsNested<A> setNewBoundLike(int index, 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>>
-
-