Package com.adobe.aem.dermis.model
Class RestProperty
- java.lang.Object
-
- com.adobe.aem.dermis.model.AbstractAsset
-
- com.adobe.aem.dermis.model.TypedAsset
-
- com.adobe.aem.dermis.model.ConstraintAsset
-
- com.adobe.aem.dermis.model.Property
-
- com.adobe.aem.dermis.model.RestProperty
-
- All Implemented Interfaces:
IAsset
,IConstraintAsset
,IProperty
,ITypeAsset
,java.io.Serializable
public class RestProperty extends Property
Class extends the Model Property withSwaggerCollectionFormatEnum
member to capture swagger specific collection format property- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RestProperty()
RestProperty(java.lang.String name, PropertyType type, IDataModel dataModel)
RestProperty(java.lang.String name, PropertyType type, IDataModel dataModel, java.lang.Boolean required)
RestProperty(java.lang.String name, PropertyType type, IDataModel dataModel, java.lang.Boolean isPrimaryKey, java.lang.Boolean required)
RestProperty(java.lang.String name, java.lang.String description, PropertyType type)
RestProperty(java.lang.String name, java.lang.String description, PropertyType type, java.lang.String typeRef)
RestProperty(java.lang.String title, java.lang.String name, java.lang.String description, PropertyType type, java.lang.String typeRef, PropertyType subType, java.lang.String subTypeRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SwaggerCollectionFormatEnum
getCollectionFormat()
void
setCollectionFormat(SwaggerCollectionFormatEnum collectionFormat)
-
Methods inherited from class com.adobe.aem.dermis.model.Property
addAssociation, getAssociatedDataModel, getChildDataModel, getDataModel, getEnumList, getIdentifier, getIsPrimaryKey, getParameterType, getProperties, getReferenceName, getRequired, getRules, isArrayOfPrimitive, isBelowCollection, isComplexType, isComputed, isMetadataKey, isNullable, isPrimaryKey, isPrimitiveType, setChildDataModel, setDataModel, setEnumList, setIsPrimaryKey, setNullable, setParameterType, setProperties, setRequired
-
Methods inherited from class com.adobe.aem.dermis.model.ConstraintAsset
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
-
Methods inherited from class com.adobe.aem.dermis.model.TypedAsset
getFormatType, getMediaBinaryEncoding, getMediaType, getSubType, getSubTypeRef, getType, getTypeRef, setFormatType, setMediaBinaryEncoding, setMediaType, setSubType, setSubTypeRef, setType, setTypeRef
-
Methods inherited from class com.adobe.aem.dermis.model.AbstractAsset
getDescription, getId, getName, getTitle, setDescription, setId, setName, setTitle
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.adobe.aem.dermis.model.IAsset
getDescription, getId, getName, getTitle
-
Methods inherited from interface com.adobe.aem.dermis.model.ITypeAsset
getFormatType, getMediaBinaryEncoding, getMediaType, getSubType, getSubTypeRef, getType, getTypeRef, setFormatType, setSubType, setType
-
-
-
-
Constructor Detail
-
RestProperty
public RestProperty()
-
RestProperty
public RestProperty(java.lang.String name, java.lang.String description, PropertyType type)
-
RestProperty
public RestProperty(java.lang.String name, java.lang.String description, PropertyType type, java.lang.String typeRef)
-
RestProperty
public RestProperty(java.lang.String name, PropertyType type, IDataModel dataModel)
-
RestProperty
public RestProperty(java.lang.String name, PropertyType type, IDataModel dataModel, java.lang.Boolean required)
-
RestProperty
public RestProperty(java.lang.String name, PropertyType type, IDataModel dataModel, java.lang.Boolean isPrimaryKey, java.lang.Boolean required)
-
RestProperty
public RestProperty(java.lang.String title, java.lang.String name, java.lang.String description, PropertyType type, java.lang.String typeRef, PropertyType subType, java.lang.String subTypeRef)
-
-
Method Detail
-
getCollectionFormat
public SwaggerCollectionFormatEnum getCollectionFormat()
-
setCollectionFormat
public void setCollectionFormat(SwaggerCollectionFormatEnum collectionFormat)
-
-