public abstract class CollectionShape extends Shape
| Modifier and Type | Class and Description |
|---|---|
static class |
CollectionShape.Builder<B extends CollectionShape.Builder<B,S>,S extends CollectionShape>
Builder used to create a List or Set shape.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,MemberShape> |
getAllMembers()
Gets the members of the shape, including mixin members.
|
MemberShape |
getMember()
Get the member shape of the collection.
|
java.util.Optional<MemberShape> |
getMember(java.lang.String memberName)
Get a specific member by name.
|
accept, asBigDecimalShape, asBigIntegerShape, asBlobShape, asBooleanShape, asByteShape, asDocumentShape, asDoubleShape, asEnumShape, asFloatShape, asIntegerShape, asIntEnumShape, asListShape, asLongShape, asMapShape, asMemberShape, asOperationShape, asResourceShape, asServiceShape, asSetShape, asShortShape, asStringShape, asStructureShape, asTimestampShape, asUnionShape, compareTo, equals, expectTrait, findMemberTrait, findTrait, findTrait, getAllTraits, getId, getIntroducedTraits, getMemberNames, getMemberTrait, getMixins, getRequiredMembers, getSourceLocation, getTags, getTrait, getType, hashCode, hasTrait, hasTrait, hasTrait, isBigDecimalShape, isBigIntegerShape, isBlobShape, isBooleanShape, isByteShape, isDocumentShape, isDoubleShape, isEnumShape, isFloatShape, isIntegerShape, isIntEnumShape, isListShape, isLongShape, isMapShape, isMemberShape, isOperationShape, isResourceShape, isServiceShape, isSetShape, isShortShape, isStringShape, isStructureShape, isTimestampShape, isUnionShape, members, shapeToBuilder, toShapeId, toString, validateMemberShapeIds, validateMixinsclone, finalize, getClass, notify, notifyAll, wait, wait, waitcomparepublic final MemberShape getMember()
public java.util.Optional<MemberShape> getMember(java.lang.String memberName)
ShapeShapes with no members return an empty Optional.
public final java.util.Map<java.lang.String,MemberShape> getAllMembers()
ShapegetAllMembers in class Shape