Class Attribute
java.lang.Object
org.qubership.atp.dataset.db.jpa.Wrapper
org.qubership.atp.dataset.service.jpa.delegates.AbstractObjectWrapper<AttributeEntity>
org.qubership.atp.dataset.service.jpa.delegates.Attribute
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields inherited from class org.qubership.atp.dataset.service.jpa.delegates.AbstractObjectWrapper
entityFields inherited from class org.qubership.atp.dataset.db.jpa.Wrapper
entityManager, gridFsService, jdbc, modelsProvider -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyListValuesTo(Attribute attributeCopy) Copy attribute list values to another attribute.createListValue(String text) For list attributes.getId()Gets list values.getName()Returns all attribute keys, overlapping current attribute.Get parameters.For DSL attributes.For DSL attributes.insertListValue(UUID id, String text) For list attributes.voidvoidsetDataSetList(UUID dataSetListId) voidvoidsetOrdering(Integer ordering) voidsetTypeDataSetListId(UUID dataSetListId) For DSL attributes.
-
Constructor Details
-
Attribute
-
-
Method Details
-
getId
-
getDataSetList
-
getName
-
getOrdering
-
getAttributeType
-
getTypeDataSetList
For DSL attributes. Returns referenced DSL. -
getTypeDataSetListId
For DSL attributes. Returns referenced DSL. -
setTypeDataSetListId
For DSL attributes. Sets referenced DSL. -
getListValues
Gets list values.- Returns:
- the list values
-
getParameters
Get parameters. -
beforeRemove
public void beforeRemove()- Overrides:
beforeRemovein classAbstractObjectWrapper<AttributeEntity>
-
getOverlaps
Returns all attribute keys, overlapping current attribute. -
createListValue
For list attributes. Create new List Value. -
insertListValue
For list attributes. Create new List Value with name and id. -
setName
-
setAttributeType
-
setDataSetList
-
copyListValuesTo
Copy attribute list values to another attribute. -
setOrdering
-