|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.fatwire.assetapi.data.AttributeDataFactory
public final class AttributeDataFactory
A factory class that is used to create AttributeData
Method Summary | |
---|---|
static AttributeData |
newArrayAttributeData(java.lang.String assettype,
java.lang.String subtype,
java.lang.String attributeName,
java.util.List data)
Create an attribute data of type array with a list of data |
static AttributeData |
newAssetAttributeData(java.lang.String assettype,
java.lang.String subtype,
java.lang.String attributeName,
java.lang.Long id)
Create an attribute of type asset with asset type, subtype and asset id |
protected static AttributeData |
newAttributeData(java.lang.String assettype,
java.lang.String subtype,
java.lang.String attributeName,
AttributeTypeEnum type,
java.util.List data)
Create an attribute data with attribute type specified |
protected static AttributeData |
newAttributeData(java.lang.String assettype,
java.lang.String subtype,
java.lang.String attributeName,
AttributeTypeEnum type,
java.lang.Object data)
Create an attribute data with attribute type specified |
static AttributeData |
newBlobData(java.lang.String assettype,
java.lang.String subtype,
java.lang.String attributeName,
BlobObject data)
Create an attribute data of type blob |
static AttributeData |
newBlobData(java.lang.String assettype,
java.lang.String subtype,
java.lang.String attributeName,
java.util.List data)
Create an attribute data of type blob |
static AttributeData |
newDateAttributeData(java.lang.String assettype,
java.lang.String subtype,
java.lang.String attributeName,
java.util.Date data)
Create an attribute data of type Date |
static AttributeData |
newDateAttributeData(java.lang.String assettype,
java.lang.String subtype,
java.lang.String attributeName,
java.util.List<java.util.Date> data)
Create an attribute data of type Date |
static AttributeData |
newFloatAttributeData(java.lang.String assettype,
java.lang.String subtype,
java.lang.String attributeName,
java.lang.Float data)
Create an attribute data of type Float |
static AttributeData |
newFloatAttributeData(java.lang.String assettype,
java.lang.String subtype,
java.lang.String attributeName,
java.util.List<java.lang.Float> data)
Create an attribute data of type Float |
static AttributeData |
newLargeTextAttributeData(java.lang.String assettype,
java.lang.String subtype,
java.lang.String attributeName,
java.util.List<java.lang.String> data)
Create an attribute data of type Large Text |
static AttributeData |
newLargeTextAttributeData(java.lang.String assettype,
java.lang.String subtype,
java.lang.String attributeName,
java.lang.String data)
Create an attribute data of type Large Text |
static AttributeData |
newListAttributeData(java.lang.String assettype,
java.lang.String subtype,
java.lang.String attributeName,
java.util.List data)
Create an attribute data of type list with a list of data |
static AttributeData |
newLongAttributeData(java.lang.String assettype,
java.lang.String subtype,
java.lang.String attributeName,
java.util.List<java.lang.Long> data)
Create an attribute data of type Long |
static AttributeData |
newLongAttributeData(java.lang.String assettype,
java.lang.String subtype,
java.lang.String attributeName,
java.lang.Long data)
Create an attribute data of type Long |
static AttributeData |
newMoneyAttributeData(java.lang.String assettype,
java.lang.String subtype,
java.lang.String attributeName,
java.lang.Float data)
Create an attribute data of type Money |
static AttributeData |
newMoneyAttributeData(java.lang.String assettype,
java.lang.String subtype,
java.lang.String attributeName,
java.util.List<java.lang.Float> data)
Create an attribute data of type Money |
static AttributeData |
newOneOfAttributeData(java.lang.String assettype,
java.lang.String subtype,
java.lang.String attributeName,
java.lang.Object data)
Create an attribute data of type one of with a list of data |
static AttributeData |
newStringAttributeData(java.lang.String assettype,
java.lang.String subtype,
java.lang.String attributeName,
java.util.List<java.lang.String> data)
Create attribute data type of String |
static AttributeData |
newStringAttributeData(java.lang.String assettype,
java.lang.String subtype,
java.lang.String attributeName,
java.lang.String data)
Create attribute data type of String |
static AttributeData |
newStructAttributeData(java.lang.String assettype,
java.lang.String subtype,
java.lang.String attributeName,
java.util.List data)
Create an attribute data of type struct with a list of data |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static AttributeData newStringAttributeData(java.lang.String assettype, java.lang.String subtype, java.lang.String attributeName, java.lang.String data)
assettype
- - the type of the assetsubtype
- - the subtype of the assetattributeName
- - the name of the attributedata
- - the String
data that the attribute contains
public static AttributeData newStringAttributeData(java.lang.String assettype, java.lang.String subtype, java.lang.String attributeName, java.util.List<java.lang.String> data)
assettype
- - the type of the assetsubtype
- - the subtype of the assetattributeName
- - the name of the attributedata
- - the String
data that the attribute contains
public static AttributeData newDateAttributeData(java.lang.String assettype, java.lang.String subtype, java.lang.String attributeName, java.util.Date data)
assettype
- - the type of the assetsubtype
- - the subtype of the assetattributeName
- - the name of the attributedata
- - the Date
data that the attribute contains
public static AttributeData newDateAttributeData(java.lang.String assettype, java.lang.String subtype, java.lang.String attributeName, java.util.List<java.util.Date> data)
assettype
- - the type of the assetsubtype
- - the subtype of the assetattributeName
- - the name of the attributedata
- - the data that the attribute contains
public static AttributeData newLongAttributeData(java.lang.String assettype, java.lang.String subtype, java.lang.String attributeName, java.lang.Long data)
assettype
- - the type of the assetsubtype
- - the subtype of the assetattributeName
- - the name of the attributedata
- - the Long
data that the attribute contains
public static AttributeData newLongAttributeData(java.lang.String assettype, java.lang.String subtype, java.lang.String attributeName, java.util.List<java.lang.Long> data)
assettype
- - the type of the assetsubtype
- - the subtype of the assetattributeName
- - the name of the attributedata
- - the Long
data that the attribute contains
public static AttributeData newFloatAttributeData(java.lang.String assettype, java.lang.String subtype, java.lang.String attributeName, java.lang.Float data)
assettype
- - the type of the assetsubtype
- - the subtype of the assetattributeName
- - the name of the attributedata
- - the Float
data that the attribute contains
public static AttributeData newFloatAttributeData(java.lang.String assettype, java.lang.String subtype, java.lang.String attributeName, java.util.List<java.lang.Float> data)
assettype
- - the type of the assetsubtype
- - the subtype of the assetattributeName
- - the name of the attributedata
- - the Float
data that the attribute contains
public static AttributeData newMoneyAttributeData(java.lang.String assettype, java.lang.String subtype, java.lang.String attributeName, java.lang.Float data)
assettype
- - the type of the assetsubtype
- - the subtype of the assetattributeName
- - the name of the attributedata
- - the Money
data that the attribute contains
public static AttributeData newMoneyAttributeData(java.lang.String assettype, java.lang.String subtype, java.lang.String attributeName, java.util.List<java.lang.Float> data)
assettype
- - the type of the assetsubtype
- - the subtype of the assetattributeName
- - the name of the attributedata
- - the Money
data that the attribute contains
public static AttributeData newLargeTextAttributeData(java.lang.String assettype, java.lang.String subtype, java.lang.String attributeName, java.lang.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 contains
public static AttributeData newLargeTextAttributeData(java.lang.String assettype, java.lang.String subtype, java.lang.String attributeName, java.util.List<java.lang.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 contains
public static AttributeData newAssetAttributeData(java.lang.String assettype, java.lang.String subtype, java.lang.String attributeName, java.lang.Long id)
assettype
- - the type of the assetsubtype
- - the subtype of the assetattributeName
- - the name of the attributeid
- - the asset id that the attribute contains
AttributeData
public static AttributeData newArrayAttributeData(java.lang.String assettype, java.lang.String subtype, java.lang.String attributeName, java.util.List data)
assettype
- - the type of the assetsubtype
- - the subtype of the assetattributeName
- - the name of the attributedata
- - the data list
AttributeData
public static AttributeData newListAttributeData(java.lang.String assettype, java.lang.String subtype, java.lang.String attributeName, java.util.List data)
assettype
- - the type of the assetsubtype
- - the subtype of the assetattributeName
- - the name of the attributedata
- - the data list
AttributeData
public static AttributeData newStructAttributeData(java.lang.String assettype, java.lang.String subtype, java.lang.String attributeName, java.util.List data)
assettype
- - the type of the assetsubtype
- - the subtype of the assetattributeName
- - the name of the attributedata
- - the data list
AttributeData
public static AttributeData newOneOfAttributeData(java.lang.String assettype, java.lang.String subtype, java.lang.String attributeName, java.lang.Object data)
assettype
- - the type of the assetsubtype
- - the subtype of the assetattributeName
- - the name of the attributedata
- - the data list
AttributeData
public static AttributeData newBlobData(java.lang.String assettype, java.lang.String subtype, java.lang.String attributeName, BlobObject data)
assettype
- - the type of the assetsubtype
- - the subtype of the assetattributeName
- - the name of the attributedata
- - the BlobObject
data
AttributeData
public static AttributeData newBlobData(java.lang.String assettype, java.lang.String subtype, java.lang.String attributeName, java.util.List data)
assettype
- - the type of the assetsubtype
- - the subtype of the assetattributeName
- - the name of the attributedata
- - the BlobObject
list
AttributeData
protected static AttributeData newAttributeData(java.lang.String assettype, java.lang.String subtype, java.lang.String attributeName, AttributeTypeEnum type, java.lang.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
data
AttributeData
protected static AttributeData newAttributeData(java.lang.String assettype, java.lang.String subtype, java.lang.String attributeName, AttributeTypeEnum type, java.util.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
data
AttributeData
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |