Package springfox.documentation.schema
Class StringElementFacet
- java.lang.Object
-
- springfox.documentation.schema.StringElementFacet
-
- All Implemented Interfaces:
ElementFacet
public class StringElementFacet extends java.lang.Object implements ElementFacet
-
-
Constructor Summary
Constructors Constructor Description StringElementFacet(java.lang.Integer maxLength, java.lang.Integer minLength, java.lang.String pattern)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.Class<? extends ElementFacetBuilder>
facetBuilder()
java.lang.Integer
getMaxLength()
java.lang.Integer
getMinLength()
java.lang.String
getPattern()
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getMaxLength
public java.lang.Integer getMaxLength()
-
getMinLength
public java.lang.Integer getMinLength()
-
getPattern
public java.lang.String getPattern()
-
facetBuilder
public java.lang.Class<? extends ElementFacetBuilder> facetBuilder()
- Specified by:
facetBuilder
in interfaceElementFacet
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-