public class SchemaLink extends SchemaElement
| Modifier and Type | Field and Description |
|---|---|
protected String |
linkedSchemaTypeGUID |
protected String |
linkedSchemaTypeName |
protected String |
linkName |
protected Map<String,String> |
linkProperties |
protected String |
linkType |
anchorGUID, description, displayName, isDeprecatedadditionalProperties, meanings, qualifiedNameclassifications, extendedProperties, guid, type, url| Constructor and Description |
|---|
SchemaLink()
Default constructor
|
SchemaLink(SchemaLink template)
Copy/clone constructor makes a copy of the supplied object.
|
| Modifier and Type | Method and Description |
|---|---|
SchemaElement |
cloneSchemaElement()
Returns a clone of this object as the abstract SchemaElement class.
|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
String |
getLinkedSchemaTypeGUID()
Return the GUID of the schema type that this link connects together.
|
String |
getLinkedSchemaTypeName()
Return the name of the schema type that this link connects together.
|
String |
getLinkName()
Return the name of this link
|
Map<String,String> |
getLinkProperties()
Return the properties associated with this schema link.
|
String |
getLinkType()
Return the type of the link - this is related to the type of the schema it is a part of.
|
int |
hashCode()
Create a hash code for this element type.
|
void |
setLinkedSchemaTypeGUID(String linkedSchemaTypeGUID)
Set up the GUID of the schema type that this link connects together.
|
void |
setLinkedSchemaTypeName(String linkedSchemaTypeName)
Set up the name of the schema type that this link connects together.
|
void |
setLinkName(String linkName)
Set up the name of this link.
|
void |
setLinkProperties(Map<String,String> linkProperties)
Set up the properties associated with this schema link.
|
void |
setLinkType(String linkType)
Set up the type of the link - this is related to the type of the schema it is a part of.
|
String |
toString()
Standard toString method.
|
getAnchorGUID, getDescription, getDisplayName, isDeprecated, setAnchorGUID, setDeprecated, setDescription, setDisplayNamegetAdditionalProperties, getMeanings, getQualifiedName, setAdditionalProperties, setMeanings, setQualifiedNamegetClassifications, getExtendedProperties, getGUID, getType, getURL, setClassifications, setExtendedProperties, setGUID, setType, setURLprotected String linkType
protected String linkName
protected String linkedSchemaTypeGUID
protected String linkedSchemaTypeName
public SchemaLink()
public SchemaLink(SchemaLink template)
template - template object to copypublic SchemaElement cloneSchemaElement()
cloneSchemaElement in class SchemaElementpublic String getLinkType()
public void setLinkType(String linkType)
linkType - String link typepublic String getLinkName()
public void setLinkName(String linkName)
linkName - String namepublic Map<String,String> getLinkProperties()
public void setLinkProperties(Map<String,String> linkProperties)
linkProperties - property mappublic String getLinkedSchemaTypeGUID()
public void setLinkedSchemaTypeGUID(String linkedSchemaTypeGUID)
linkedSchemaTypeGUID - unique identifierpublic String getLinkedSchemaTypeName()
public void setLinkedSchemaTypeName(String linkedSchemaTypeName)
linkedSchemaTypeName - unique namepublic String toString()
toString in class SchemaElementpublic boolean equals(Object objectToCompare)
equals in class ReferenceableobjectToCompare - supplied objectpublic int hashCode()
hashCode in class ReferenceableCopyright © 2018–2020 ODPi. All rights reserved.