public class AttributesHelper extends Object
Constructor and Description |
---|
AttributesHelper() |
Modifier and Type | Method and Description |
---|---|
static InstanceAttributeDTO |
createInstanceAttribute(InstanceAttributeDTO.TypeEnum type,
String name,
String value)
Create an attribute
|
static InstanceAttributeTemplateDTO |
createInstanceAttributeTemplate(InstanceAttributeTemplateDTO.AttributeTypeEnum type,
String name,
boolean mandatory,
boolean locked)
Create an attribute template
|
public static InstanceAttributeTemplateDTO createInstanceAttributeTemplate(InstanceAttributeTemplateDTO.AttributeTypeEnum type, String name, boolean mandatory, boolean locked)
type
- : attribute typename
- : attribute namemandatory
- : mandatorylocked
- : lock attributepublic static InstanceAttributeDTO createInstanceAttribute(InstanceAttributeDTO.TypeEnum type, String name, String value)
type:
- attribute typename:
- attribute namevalue:
- attribute valueCopyright © 2019 DocDoku. All rights reserved.