public class SchemaAttribute extends SchemaElement
| Modifier and Type | Field and Description |
|---|---|
protected int |
elementPosition |
protected String |
nativeJavaClass |
description, displayNameadditionalProperties, qualifiedName| Constructor and Description |
|---|
SchemaAttribute()
Default constructor
|
SchemaAttribute(SchemaAttribute template)
Copy/clone constructor.
|
| Modifier and Type | Method and Description |
|---|---|
SchemaElement |
cloneSchemaElement()
Return a clone of this schema element.
|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
int |
getElementPosition()
Return the position of this schema attribute in its parent schema.
|
String |
getNativeJavaClass() |
int |
hashCode()
Return a number that represents the contents of this object.
|
void |
setElementPosition(int elementPosition)
Set up the position of this schema attribute in its parent schema.
|
void |
setNativeJavaClass(String nativeJavaClass) |
String |
toString()
Standard toString method.
|
getDescription, getDisplayName, setDescription, setDisplayNamegetAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedNameprotected int elementPosition
protected String nativeJavaClass
public SchemaAttribute()
public SchemaAttribute(SchemaAttribute template)
template - template schema attribute to copy.public SchemaElement cloneSchemaElement()
cloneSchemaElement in class SchemaElementpublic int getElementPosition()
public void setElementPosition(int elementPosition)
elementPosition - int position in schema - 0 means firstpublic String getNativeJavaClass()
public void setNativeJavaClass(String nativeJavaClass)
nativeJavaClass - the nativeJavaClass to setpublic String toString()
toString in class SchemaElementpublic boolean equals(Object objectToCompare)
equals in class SchemaElementobjectToCompare - supplied objectpublic int hashCode()
hashCode in class SchemaElementCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.