@Exported public final class AttributeDataFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static AttributeData |
newArrayAttributeData(String assettype,
String subtype,
String attributeName,
List data)
Create an attribute data of type array with a list of data
|
static AttributeData |
newAssetAttributeData(String assettype,
String subtype,
String attributeName,
Long id)
Create an attribute of type asset with asset type, subtype and asset id
|
protected static AttributeData |
newAttributeData(String assettype,
String subtype,
String attributeName,
AttributeTypeEnum type,
List data)
Create an attribute data with attribute type specified
|
protected static AttributeData |
newAttributeData(String assettype,
String subtype,
String attributeName,
AttributeTypeEnum type,
Object data)
Create an attribute data with attribute type specified
|
static AttributeData |
newBlobData(String assettype,
String subtype,
String attributeName,
BlobObject data)
Create an attribute data of type blob
|
static AttributeData |
newBlobData(String assettype,
String subtype,
String attributeName,
List data)
Create an attribute data of type blob
|
static AttributeData |
newDateAttributeData(String assettype,
String subtype,
String attributeName,
Date data)
Create an attribute data of type Date
|
static AttributeData |
newDateAttributeData(String assettype,
String subtype,
String attributeName,
List<Date> data)
Create an attribute data of type Date
|
static AttributeData |
newFloatAttributeData(String assettype,
String subtype,
String attributeName,
Float data)
Create an attribute data of type Float
|
static AttributeData |
newFloatAttributeData(String assettype,
String subtype,
String attributeName,
List<Float> data)
Create an attribute data of type Float
|
static AttributeData |
newLargeTextAttributeData(String assettype,
String subtype,
String attributeName,
List<String> data)
Create an attribute data of type Large Text
|
static AttributeData |
newLargeTextAttributeData(String assettype,
String subtype,
String attributeName,
String data)
Create an attribute data of type Large Text
|
static AttributeData |
newListAttributeData(String assettype,
String subtype,
String attributeName,
List data)
Create an attribute data of type list with a list of data
|
static AttributeData |
newLongAttributeData(String assettype,
String subtype,
String attributeName,
List<Long> data)
Create an attribute data of type Long
|
static AttributeData |
newLongAttributeData(String assettype,
String subtype,
String attributeName,
Long data)
Create an attribute data of type Long
|
static AttributeData |
newMoneyAttributeData(String assettype,
String subtype,
String attributeName,
Float data)
Create an attribute data of type Money
|
static AttributeData |
newMoneyAttributeData(String assettype,
String subtype,
String attributeName,
List<Float> data)
Create an attribute data of type Money
|
static AttributeData |
newOneOfAttributeData(String assettype,
String subtype,
String attributeName,
Object data)
Create an attribute data of type one of with a list of data
|
static AttributeData |
newStringAttributeData(String assettype,
String subtype,
String attributeName,
List<String> data)
Create attribute data type of String
|
static AttributeData |
newStringAttributeData(String assettype,
String subtype,
String attributeName,
String data)
Create attribute data type of String
|
static AttributeData |
newStructAttributeData(String assettype,
String subtype,
String attributeName,
List data)
Create an attribute data of type struct with a list of data
|
public static AttributeData newStringAttributeData(String assettype, String subtype, String attributeName, String data)
assettype - - the type of the assetsubtype - - the subtype of the assetattributeName - - the name of the attributedata - - the String data that the attribute containspublic static AttributeData newStringAttributeData(String assettype, String subtype, String attributeName, List<String> data)
assettype - - the type of the assetsubtype - - the subtype of the assetattributeName - - the name of the attributedata - - the String data that the attribute containspublic static AttributeData newDateAttributeData(String assettype, String subtype, String attributeName, Date data)
assettype - - the type of the assetsubtype - - the subtype of the assetattributeName - - the name of the attributedata - - the Date data that the attribute containspublic static AttributeData newDateAttributeData(String assettype, String subtype, String attributeName, List<Date> data)
assettype - - the type of the assetsubtype - - the subtype of the assetattributeName - - the name of the attributedata - - the data that the attribute containspublic static AttributeData newLongAttributeData(String assettype, String subtype, String attributeName, Long data)
assettype - - the type of the assetsubtype - - the subtype of the assetattributeName - - the name of the attributedata - - the Long data that the attribute containspublic static AttributeData newLongAttributeData(String assettype, String subtype, String attributeName, List<Long> data)
assettype - - the type of the assetsubtype - - the subtype of the assetattributeName - - the name of the attributedata - - the Long data that the attribute containspublic static AttributeData newFloatAttributeData(String assettype, String subtype, String attributeName, Float data)
assettype - - the type of the assetsubtype - - the subtype of the assetattributeName - - the name of the attributedata - - the Float data that the attribute containspublic static AttributeData newFloatAttributeData(String assettype, String subtype, String attributeName, List<Float> data)
assettype - - the type of the assetsubtype - - the subtype of the assetattributeName - - the name of the attributedata - - the Float data that the attribute containspublic static AttributeData newMoneyAttributeData(String assettype, String subtype, String attributeName, Float data)
assettype - - the type of the assetsubtype - - the subtype of the assetattributeName - - the name of the attributedata - - the Money data that the attribute containspublic static AttributeData newMoneyAttributeData(String assettype, String subtype, String attributeName, List<Float> data)
assettype - - the type of the assetsubtype - - the subtype of the assetattributeName - - the name of the attributedata - - the Money data that the attribute containspublic static AttributeData newLargeTextAttributeData(String assettype, String subtype, String attributeName, String data)
assettype - - the type of the assetsubtype - - the subtype of the assetattributeName - - the name of the attributedata - - the large String data that the attribute containspublic static AttributeData newLargeTextAttributeData(String assettype, String subtype, String attributeName, List<String> data)
assettype - - the type of the assetsubtype - - the subtype of the assetattributeName - - the name of the attributedata - - the large String data that the attribute containspublic static AttributeData newAssetAttributeData(String assettype, String subtype, String attributeName, Long id)
assettype - - the type of the assetsubtype - - the subtype of the assetattributeName - - the name of the attributeid - - the asset id that the attribute containsAttributeDatapublic static AttributeData newArrayAttributeData(String assettype, String subtype, String attributeName, List data)
assettype - - the type of the assetsubtype - - the subtype of the assetattributeName - - the name of the attributedata - - the data listAttributeDatapublic static AttributeData newListAttributeData(String assettype, String subtype, String attributeName, List data)
assettype - - the type of the assetsubtype - - the subtype of the assetattributeName - - the name of the attributedata - - the data listAttributeDatapublic static AttributeData newStructAttributeData(String assettype, String subtype, String attributeName, List data)
assettype - - the type of the assetsubtype - - the subtype of the assetattributeName - - the name of the attributedata - - the data listAttributeDatapublic static AttributeData newOneOfAttributeData(String assettype, String subtype, String attributeName, Object data)
assettype - - the type of the assetsubtype - - the subtype of the assetattributeName - - the name of the attributedata - - the data listAttributeDatapublic static AttributeData newBlobData(String assettype, String subtype, String attributeName, BlobObject data)
assettype - - the type of the assetsubtype - - the subtype of the assetattributeName - - the name of the attributedata - - the BlobObject dataAttributeDatapublic static AttributeData newBlobData(String assettype, String subtype, String attributeName, List data)
assettype - - the type of the assetsubtype - - the subtype of the assetattributeName - - the name of the attributedata - - the BlobObject listAttributeDataprotected static AttributeData newAttributeData(String assettype, String subtype, String attributeName, AttributeTypeEnum type, Object data)
assettype - - the type of the assetsubtype - - the subtype of the assetattributeName - - the name of the attributetype - the type of the data that the attribute data containsdata - - the BlobObject dataAttributeDataprotected static AttributeData newAttributeData(String assettype, String subtype, String attributeName, AttributeTypeEnum type, List data)
assettype - - the type of the assetsubtype - - the subtype of the assetattributeName - - the name of the attributetype - the type of the data that the attribute data containsdata - - the BlobObject dataAttributeData