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, setTitle
getDescription, getId, getName, getTitle
public 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 ITypeAsset
public void setSubType(PropertyType subType)
setSubType
in interface ITypeAsset
public PropertyType getType()
getType
in interface ITypeAsset
public void setType(PropertyType type)
setType
in interface ITypeAsset
public String getTypeRef()
getTypeRef
in interface ITypeAsset
public void setTypeRef(String typeRef)
public String getSubTypeRef()
getSubTypeRef
in interface ITypeAsset
public void setSubTypeRef(String subTypeRef)
public PropertyFormatType getFormatType()
getFormatType
in interface ITypeAsset
public void setFormatType(PropertyFormatType type)
setFormatType
in interface ITypeAsset
public String getMediaBinaryEncoding()
getMediaBinaryEncoding
in interface ITypeAsset
public String getMediaType()
getMediaType
in interface ITypeAsset
public void setMediaType(String mediaType)
public void setMediaBinaryEncoding(String mediaBinaryEncoding)
Copyright © 1982–2022 Adobe Systems Inc.. All rights reserved.