public abstract class TypedAsset extends AbstractAsset implements ITypeAsset
ITypeAsset
Implements most common and trivial methods.| Constructor and Description |
|---|
TypedAsset() |
TypedAsset(String name,
String description) |
TypedAsset(String name,
String description,
PropertyType type) |
TypedAsset(String name,
String description,
PropertyType type,
PropertyFormatType formatType) |
TypedAsset(String name,
String description,
PropertyType type,
PropertyType subType) |
TypedAsset(String name,
String description,
PropertyType type,
String subTypeRef) |
| Modifier and Type | Method and Description |
|---|---|
PropertyFormatType |
getFormatType()
Gets the format type of the Asset
|
String |
getMediaBinaryEncoding()
Gets the binary encoding for the media
Example, could be base64
|
String |
getMediaType()
Gets the media type, as mime type
Example, could be "image/png"
|
PropertyType |
getSubType()
Gets the sub type of the asset.
|
String |
getSubTypeRef()
Gets the type reference of the asset.
|
PropertyType |
getType()
Gets the type of the Asset
|
String |
getTypeRef()
Gets the type reference of the asset.
|
void |
setFormatType(PropertyFormatType type)
Sets the format type of the Asset
|
void |
setMediaBinaryEncoding(String mediaBinaryEncoding) |
void |
setMediaType(String mediaType) |
void |
setSubType(PropertyType subType) |
void |
setSubTypeRef(String subTypeRef) |
void |
setType(PropertyType type)
Sets the type of the Asset
|
void |
setTypeRef(String typeRef) |
getDescription, getId, getName, getTitle, setDescription, setId, setName, setTitlegetDescription, getId, getName, getTitlepublic TypedAsset()
public TypedAsset(String name, String description, PropertyType type)
public TypedAsset(String name, String description, PropertyType type, PropertyFormatType formatType)
public TypedAsset(String name, String description, PropertyType type, PropertyType subType)
public TypedAsset(String name, String description, PropertyType type, String subTypeRef)
public PropertyType getSubType()
getSubType in interface ITypeAssetpublic void setSubType(PropertyType subType)
setSubType in interface ITypeAssetpublic PropertyType getType()
getType in interface ITypeAssetpublic void setType(PropertyType type)
setType in interface ITypeAssetpublic String getTypeRef()
getTypeRef in interface ITypeAssetpublic void setTypeRef(String typeRef)
public String getSubTypeRef()
getSubTypeRef in interface ITypeAssetpublic void setSubTypeRef(String subTypeRef)
public PropertyFormatType getFormatType()
getFormatType in interface ITypeAssetpublic void setFormatType(PropertyFormatType type)
setFormatType in interface ITypeAssetpublic String getMediaBinaryEncoding()
getMediaBinaryEncoding in interface ITypeAssetpublic String getMediaType()
getMediaType in interface ITypeAssetpublic void setMediaType(String mediaType)
public void setMediaBinaryEncoding(String mediaBinaryEncoding)
Copyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.