public class RestProperty extends Property
SwaggerCollectionFormatEnum member to capture swagger specific collection format property| Constructor 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, setRequiredgetDefaultValue, getExclusiveMaximum, getExclusiveMinimum, getMaximum, getMaxItems, getMaxLength, getMinimum, getMinItems, getMinLength, getPattern, getProtect, getUniqueItems, isReadOnly, setDefaultValue, setExclusiveMaximum, setExclusiveMinimum, setMaximum, setMaxItems, setMaxLength, setMinimum, setMinItems, setMinLength, setPattern, setProtect, setReadOnly, setUniqueItemsgetFormatType, getMediaBinaryEncoding, getMediaType, getSubType, getSubTypeRef, getType, getTypeRef, setFormatType, setMediaBinaryEncoding, setMediaType, setSubType, setSubTypeRef, setType, setTypeRefgetDescription, getId, getName, getTitle, setDescription, setId, setName, setTitlegetFormatType, getMediaBinaryEncoding, getMediaType, getSubType, getSubTypeRef, getType, getTypeRef, setFormatType, setSubType, setTypegetDescription, getId, getName, getTitlepublic 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.