public class ElementStub extends ElementHeader
| Constructor and Description |
|---|
ElementStub()
Default constructor
|
ElementStub(ElementHeader template)
Copy/clone constructor.
|
ElementStub(ElementStub template)
Copy/clone constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.
|
String |
getUniqueName()
Return the unique name - if known
|
int |
hashCode()
Hash of properties
|
void |
setUniqueName(String uniqueName)
Set up unique name - if known
|
String |
toString()
JSON-style toString.
|
getClassifications, getGUID, getOrigin, getType, setClassifications, setGUID, setOrigin, setTypepublic ElementStub()
public ElementStub(ElementStub template)
template - object to copypublic ElementStub(ElementHeader template)
template - object to copypublic String getUniqueName()
public void setUniqueName(String uniqueName)
uniqueName - string namepublic String toString()
toString in class ElementHeaderpublic boolean equals(Object objectToCompare)
equals in class ElementHeaderobjectToCompare - object to comparepublic int hashCode()
hashCode in class ElementHeaderCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.