Package | Description |
---|---|
com.versionone.apiclient | |
com.versionone.apiclient.filters | |
com.versionone.apiclient.interfaces | |
com.versionone.apiclient.services |
Modifier and Type | Method and Description |
---|---|
IAttributeDefinition |
Services.getAttributeDefinition(String token)
Get the attribute definition
|
IAttributeDefinition |
MetaModel.getAttributeDefinition(String token)
Get an attribute definition from a token
|
IAttributeDefinition |
Attribute.getDefinition()
Get the definition of the attribute
|
protected IAttributeDefinition |
Query.getParentRelation()
The the AttributeDefinition
|
Modifier and Type | Method and Description |
---|---|
List<IAttributeDefinition> |
RequiredFieldValidator.validate(Asset asset)
Validate all available Asset attributes.
|
Map<Asset,List<IAttributeDefinition>> |
RequiredFieldValidator.validate(Asset[] assets)
Validate collection of Assets.
|
Modifier and Type | Method and Description |
---|---|
void |
Asset.addAttributeValue(IAttributeDefinition attributeDefinition,
Object value)
Add an attribute value
|
void |
Asset.clearAttributeCache(IAttributeDefinition attributeDefinition)
Clear an attribute from cache based on definition.
|
Attribute |
Asset.ensureAttribute(IAttributeDefinition attributeDefinition) |
void |
Asset.forceAttributeValue(IAttributeDefinition attributeDefinition,
Object value)
Force an attribute to a value
|
Attribute |
Asset.getAttribute(IAttributeDefinition attributeDefinition)
Get an attribute based on definition
|
String |
Services.getLocalization(IAttributeDefinition attribute) |
boolean |
RequiredFieldValidator.isRequired(IAttributeDefinition definition)
Check whether the provided attribute is required in current VersionOne server setup.
|
void |
Asset.loadAttributeValue(IAttributeDefinition attributeDefinition,
Object value) |
void |
Asset.removeAttributeValue(IAttributeDefinition attributeDefinition,
Object value)
Remove an attribute value
|
void |
Asset.setAttributeValue(IAttributeDefinition attributeDefinition,
Object value)
Set an attribute value
|
boolean |
RequiredFieldValidator.validate(Asset asset,
IAttributeDefinition attributeDefinition)
Validate single Asset attribute.
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
Services.getLocalization(ArrayList<IAttributeDefinition> attributes) |
Constructor and Description |
---|
Attribute(IAttributeDefinition def,
Asset asset) |
Query(IAssetType assettype,
boolean historical,
IAttributeDefinition parentrelation)
Create a historical query on an attribute
|
Query(IAssetType assettype,
IAttributeDefinition parentrelation)
Create a query on attribute in an Asset
|
Modifier and Type | Method and Description |
---|---|
FilterTerm |
GroupFilterTerm.Term(IAttributeDefinition def)
Create a filter term from the attribute definition
|
Constructor and Description |
---|
FilterTerm(IAttributeDefinition def) |
Modifier and Type | Method and Description |
---|---|
IAttributeDefinition |
IAttributeDefinition.aggregate(IAttributeDefinition.Aggregate aggregate)
Aggregate objects
|
IAttributeDefinition |
IAttributeDefinition.downcast(IAssetType assetType)
Downcast current object
|
IAttributeDefinition |
IAttributeDefinition.filter(IFilterTerm filter)
Add filter to object
|
IAttributeDefinition |
IServices.getAttributeDefinition(String token)
Returns the type information for an attribute specified in a token.
|
IAttributeDefinition |
IMetaModel.getAttributeDefinition(String token)
Get the definition of an attribute specified in the token
|
IAttributeDefinition |
IAssetType.getAttributeDefinition(String name)
Get the definition of the specified attribute
|
IAttributeDefinition |
IAttributeDefinition.getBase()
Get base attribute information
|
IAttributeDefinition |
IAssetType.getDefaultOrderBy()
Get attribute on which this asset is sorted by default.
|
IAttributeDefinition |
IAssetType.getDescriptionAttribute() |
IAttributeDefinition |
IAssetType.getNameAttribute() |
IAttributeDefinition |
IAssetType.getShortNameAttribute() |
IAttributeDefinition |
IOperation.getValidatorAttribute()
Get the definition for the attribute used to validate this operation
|
IAttributeDefinition |
IAttributeDefinition.join(IAttributeDefinition joined)
Join current token with new
|
Modifier and Type | Method and Description |
---|---|
String |
IServices.getLocalization(IAttributeDefinition attribute)
Returns a localization value based on an attribute definition.
|
IAttributeDefinition |
IAttributeDefinition.join(IAttributeDefinition joined)
Join current token with new
|
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
IServices.getLocalization(ArrayList<IAttributeDefinition> attributes)
Returns a Map of localized values.
|
Modifier and Type | Method and Description |
---|---|
void |
OrderBy.majorSort(IAttributeDefinition attribdef,
OrderBy.Order order)
Set the attribute and order for major sort of returned data
|
void |
OrderBy.minorSort(IAttributeDefinition attribdef,
OrderBy.Order order)
Set the attribute and order for minor sort of returned data
|
Copyright © 2015 VersionOne, Inc.. All rights reserved.