@Entity public class AttributeModel extends Object implements Serializable
Constructor and Description |
---|
AttributeModel() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Set<String> |
getAliases()
Returns the List of alias Strings.
|
String |
getCatalogId()
Get the Catalog Id this attribute is associated with.
|
Set<ConstraintModel> |
getConstraints() |
DataType |
getDataType()
Returns the data type of this attribute.
|
String |
getDescription()
Returns the description of the attribute.
|
String |
getDisplayName()
Returns the name used when displaying the attribute.
|
Set<String> |
getExamples()
Returns the List of example Strings.
|
Long |
getId()
Returns the id of the AttributeDto.
|
String |
getName()
Returns the name of the AttributeDto.
|
int |
hashCode() |
boolean |
isIndexed()
Identifies whether this attribute is an index.
|
boolean |
isRequestContext()
Returns whether this attribute is part of the RequestContext.
|
boolean |
isRequired()
Returns whether this attribute is required.
|
boolean |
isSortable()
Returns whether a sort may be performed on this attribute.
|
void |
setAliases(Set<String> aliases)
Sets List of alias Strings.
|
void |
setCatalogId(String catalogId)
Set the catalog id this attribute is associated with.
|
void |
setConstraints(Set<ConstraintModel> constraints) |
void |
setDataType(DataType dataType)
Set the data type of the attribute.
|
void |
setDescription(String description)
Set the description of the attribute.
|
void |
setDisplayName(String name)
Set the name to be displayed for this attribute.
|
void |
setExamples(Set<String> examples)
Sets the List of example Strings.
|
void |
setId(Long id)
Set the id of the AttributeDto.
|
void |
setIndexed(boolean indexed)
Set whether this attribute is an index.
|
void |
setName(String name)
Set the name of the AttributeDto.
|
void |
setRequestContext(boolean isRequestContext)
Set whether this attribute is part of the RequestContext.
|
void |
setRequired(boolean required)
Set whether this attribute is required.
|
void |
setSortable(boolean sortable)
Set whether a sort may be performed on this attribute.
|
public Long getId()
public void setId(Long id)
id
- public String getName()
public void setName(String name)
name
- the name of the attribute.public String getDisplayName()
public void setDisplayName(String name)
name
- the display name for the attribute.public String getDescription()
public void setDescription(String description)
description
- the description of the attribute.public DataType getDataType()
public void setDataType(DataType dataType)
dataType
- the data type of the attribute.public boolean isIndexed()
public void setIndexed(boolean indexed)
indexed
- true if this attribute is an index, false otherwise.public boolean isSortable()
public void setSortable(boolean sortable)
sortable
- true if a sort may be performed on this attribute, false otherwise.public boolean isRequired()
public void setRequired(boolean required)
required
- true if this attribute is required, false otherwise.public boolean isRequestContext()
public void setRequestContext(boolean isRequestContext)
isRequestContext
- true if this attribute is part of the RequestContext, false otherwise.public Set<String> getExamples()
public void setExamples(Set<String> examples)
examples
- the List of example Strings.public Set<String> getAliases()
public String getCatalogId()
public void setCatalogId(String catalogId)
catalogId
- The catalog id or null.public void setAliases(Set<String> aliases)
aliases
- The List of alias Strings.public Set<ConstraintModel> getConstraints()
public void setConstraints(Set<ConstraintModel> constraints)
Copyright © 2016-2018 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Apache Log4j Audit, Log4j, Log4j Audit, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.