public class RestProperty extends Property
SwaggerCollectionFormatEnum
member to capture swagger specific collection format propertyConstructor and Description |
---|
RestProperty() |
RestProperty(String name,
PropertyType type,
IDataModel dataModel) |
RestProperty(String name,
PropertyType type,
IDataModel dataModel,
Boolean required) |
RestProperty(String name,
PropertyType type,
IDataModel dataModel,
Boolean isPrimaryKey,
Boolean required) |
RestProperty(String name,
String description,
PropertyType type) |
RestProperty(String name,
String description,
PropertyType type,
String typeRef) |
RestProperty(String title,
String name,
String description,
PropertyType type,
String typeRef,
PropertyType subType,
String subTypeRef) |
Modifier and Type | Method and Description |
---|---|
SwaggerCollectionFormatEnum |
getCollectionFormat() |
void |
setCollectionFormat(SwaggerCollectionFormatEnum collectionFormat) |
addAssociation, getAssociatedDataModel, getChildDataModel, getDataModel, getEnumList, getIdentifier, getIsPrimaryKey, getParameterType, getProperties, getReferenceName, getRequired, getRules, isArrayOfPrimitive, isBelowCollection, isComplexType, isComputed, isNullable, isPrimaryKey, isPrimitiveType, setChildDataModel, setDataModel, setEnumList, setIsPrimaryKey, setNullable, setParameterType, setProperties, setRequired
getDefaultValue, getExclusiveMaximum, getExclusiveMinimum, getMaximum, getMaxItems, getMaxLength, getMinimum, getMinItems, getMinLength, getPattern, getProtect, getUniqueItems, isReadOnly, setDefaultValue, setExclusiveMaximum, setExclusiveMinimum, setMaximum, setMaxItems, setMaxLength, setMinimum, setMinItems, setMinLength, setPattern, setProtect, setReadOnly, setUniqueItems
getFormatType, getMediaBinaryEncoding, getMediaType, getSubType, getSubTypeRef, getType, getTypeRef, setFormatType, setMediaBinaryEncoding, setMediaType, setSubType, setSubTypeRef, setType, setTypeRef
getDescription, getId, getName, getTitle, setDescription, setId, setName, setTitle
getFormatType, getMediaBinaryEncoding, getMediaType, getSubType, getSubTypeRef, getType, getTypeRef, setFormatType, setSubType, setType
getDescription, getId, getName, getTitle
public RestProperty()
public RestProperty(String name, String description, PropertyType type)
public RestProperty(String name, String description, PropertyType type, String typeRef)
public RestProperty(String name, PropertyType type, IDataModel dataModel)
public RestProperty(String name, PropertyType type, IDataModel dataModel, Boolean required)
public RestProperty(String name, PropertyType type, IDataModel dataModel, Boolean isPrimaryKey, Boolean required)
public RestProperty(String title, String name, String description, PropertyType type, String typeRef, PropertyType subType, String subTypeRef)
public SwaggerCollectionFormatEnum getCollectionFormat()
public void setCollectionFormat(SwaggerCollectionFormatEnum collectionFormat)
Copyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.