public abstract class AbstractMetadataRecord extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static interface |
AbstractMetadataRecord.DataModifiable |
static interface |
AbstractMetadataRecord.Modifiable |
Modifier and Type | Field and Description |
---|---|
static char |
NAME_DELIM_CHAR |
static String |
RELATIONAL_URI |
Constructor and Description |
---|
AbstractMetadataRecord() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Compare two records for equality.
|
String |
getAnnotation() |
String |
getCanonicalName() |
String |
getFullName()
WARNING - The name returned by this method may be ambiguous and
is not SQL safe - it may need quoted/escaped
|
Collection<AbstractMetadataRecord> |
getIncomingObjects() |
String |
getName() |
String |
getNameInSource() |
AbstractMetadataRecord |
getParent() |
Map<String,String> |
getProperties()
Return the extension properties for this record - may be unmodifiable
if
#setProperties(LinkedHashMap) or setProperty(String, String)
has not been called. |
String |
getProperty(String key,
boolean checkUnqualified) |
String |
getSourceName()
Get the name in source or the name if
the name in source is not set.
|
String |
getSQLString()
Get the full name as a SQL safe string
|
void |
getSQLString(StringBuilder sb) |
String |
getUUID() |
int |
hashCode() |
boolean |
isUUIDSet() |
void |
setAnnotation(String annotation) |
void |
setIncomingObjects(Collection<AbstractMetadataRecord> incomingObjects) |
void |
setName(String name) |
void |
setNameInSource(String nameInSource) |
void |
setProperties(Map<String,String> properties) |
String |
setProperty(String key,
String value)
The preferred setter for extension properties.
|
void |
setUUID(String uuid) |
String |
toString() |
public static final char NAME_DELIM_CHAR
public static final String RELATIONAL_URI
public String getUUID()
public void setUUID(String uuid)
public String getNameInSource()
public void setNameInSource(String nameInSource)
public String getSourceName()
public String getFullName()
public void getSQLString(StringBuilder sb)
public String getSQLString()
public AbstractMetadataRecord getParent()
public String getName()
public void setName(String name)
public String getCanonicalName()
public Map<String,String> getProperties()
#setProperties(LinkedHashMap)
or setProperty(String, String)
has not been called.public String setProperty(String key, String value)
key
- value,
- if null the property will be removedpublic String getAnnotation()
public void setAnnotation(String annotation)
public boolean equals(Object obj)
public Collection<AbstractMetadataRecord> getIncomingObjects()
public void setIncomingObjects(Collection<AbstractMetadataRecord> incomingObjects)
public boolean isUUIDSet()
Copyright © 2018 JBoss by Red Hat. All rights reserved.