public static class Oas20Schema.Oas20PropertySchema extends Oas20Schema implements IOasPropertySchema, INamed
Oas20Schema.Oas20AdditionalPropertiesSchema, Oas20Schema.Oas20AllOfSchema, Oas20Schema.Oas20ItemsSchema, Oas20Schema.Oas20PropertySchema
discriminator
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 |
---|
Oas20PropertySchema(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 |
getName()
Gets the definition name.
|
String |
getPropertyName()
Returns the property schema's name.
|
void |
rename(String newName)
Renames the property schema.
|
createAdditionalPropertiesSchema, createAllOfSchema, createExternalDocumentation, createItemsSchema, createPropertySchema, createXML
addAllOfSchema, addProperty, getProperties, getProperty, getPropertyNames, hasAdditionalPropertiesBoolean, hasAdditionalPropertiesSchema, hasItemsSchema, hasItemsSchemas, removeAllOfSchema, removeProperty, setExternalDocumentation
getReference, setReference
addExtension, clearExtensions, createExtension, getExtension, getExtensions, isExtensible, removeExtension
addExtraProperty, addValidationProblem, attachToParent, clearAttributes, clearValidationProblems, getAttribute, getAttributeNames, getExtraProperty, getExtraPropertyNames, getValidationProblemCodes, getValidationProblems, getValidationProblemsFor, hasExtraProperties, isAttached, modelId, ownerDocument, parent, removeExtraProperty, setAttribute
public Oas20PropertySchema(String propertyName)
propertyName
- public String getPropertyName()
IOasPropertySchema
getPropertyName
in interface IOasPropertySchema
IOasPropertySchema.getPropertyName()
public void rename(String newName)
IOasPropertySchema
rename
in interface INamed
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 © 2020 Red Hat. All rights reserved.