public static class Oas30Schema.Oas30PropertySchema extends Oas30Schema implements IOasPropertySchema
Oas30Schema.Oas30AdditionalPropertiesSchema, Oas30Schema.Oas30AllOfSchema, Oas30Schema.Oas30AnyOfSchema, Oas30Schema.Oas30ItemsSchema, Oas30Schema.Oas30NotSchema, Oas30Schema.Oas30OneOfSchema, Oas30Schema.Oas30PropertySchema
anyOf, deprecated, discriminator, not, nullable, oneOf, writeOnly
additionalProperties, allOf, default_, description, enum_, example, exclusiveMaximum, exclusiveMinimum, externalDocs, format, items, maximum, maxItems, maxLength, maxProperties, minimum, minItems, minLength, minProperties, multipleOf, pattern, properties, readOnly, required, title, type, uniqueItems, xml
_extensions
_attributes, _extraProperties, _modelId, _ownerDocument, _parent, _validationProblems
Constructor and Description |
---|
Oas30PropertySchema(String propertyName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(IVisitor visitor)
Called to accept a visitor onto a visitable data model instance.
|
String |
getPropertyName()
Returns the property schema's name.
|
void |
rename(String newName)
Renames the property schema.
|
addAnyOfSchema, addOneOfSchema, createAdditionalPropertiesSchema, createAllOfSchema, createAnyOfSchema, createDiscriminator, createExternalDocumentation, createItemsSchema, createNotSchema, createOneOfSchema, createPropertySchema, createXML, removeAnyOfSchema, removeOneOfSchema
addAllOfSchema, addProperty, getProperties, getProperty, getPropertyNames, hasAdditionalPropertiesBoolean, hasAdditionalPropertiesSchema, hasItemsSchema, hasItemsSchemas, removeAllOfSchema, removeProperty, setExternalDocumentation
addExtension, clearExtensions, createExtension, getExtension, getExtensions, isExtensible, removeExtension
addExtraProperty, addValidationProblem, clearAttributes, clearValidationProblems, getAttribute, getAttributeNames, getExtraProperty, getExtraPropertyNames, getValidationProblemCodes, getValidationProblems, getValidationProblemsFor, hasExtraProperties, modelId, ownerDocument, parent, removeExtraProperty, setAttribute
public Oas30PropertySchema(String propertyName)
propertyName
- public String getPropertyName()
IOasPropertySchema
getPropertyName
in interface IOasPropertySchema
IOasPropertySchema.getPropertyName()
public void rename(String newName)
IOasPropertySchema
rename
in interface IOasPropertySchema
IOasPropertySchema.rename(java.lang.String)
public void accept(IVisitor visitor)
IVisitable
accept
in interface IVisitable
accept
in class Schema
Schema.accept(io.apicurio.datamodels.core.visitors.IVisitor)
Copyright © 2019 Red Hat. All rights reserved.