Class SchemaPart
java.lang.Object
com.northconcepts.datapipeline.foundations.core.Bean
com.northconcepts.datapipeline.foundations.core.FoundationObject
com.northconcepts.datapipeline.foundations.schema.SchemaObject
com.northconcepts.datapipeline.foundations.schema.SchemaPart
- All Implemented Interfaces:
DataExceptionContributor,JsonSerializable,RecordSerializable,XmlSerializable,JavaCodeGenerator,Serializable
- Direct Known Subclasses:
EntityDef,EntityRelationshipDef,FieldDef,IndexDef,IndexFieldDef,SchemaDef
Base class for the elements of a schema definition -- the
SchemaDef itself and its entities, relationships,
fields, indexes and index fields.- See Also:
-
Field Summary
Fields inherited from class com.northconcepts.datapipeline.foundations.core.FoundationObject
internalId, internalName, log, TIMESTAMP_FORMATFields inherited from interface com.northconcepts.datapipeline.core.RecordSerializable
SERIALIZED_CLASS_NAME, TYPEFields inherited from interface com.northconcepts.datapipeline.core.XmlSerializable
XML_SERIALIZED_CLASS_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract SchemaDefReturns the schema containing this part (itself for aSchemaDef) or null if the part is not in a schema.Returns the name of the schema containing this part or null if it is not in a schema.abstract SchemaPartReturns the schema part containing this one or null if there is none.Returns the name of thecontaining partor null if there is none.Returns the type of thecontaining partor null if there is none.abstract StringReturns the name identifying this part, such as an entity's name or an index field's field name.abstract SchemaPartTypeReturns the kind of part this is, such asSchemaPartType.ENTITY.Methods inherited from class com.northconcepts.datapipeline.foundations.core.FoundationObject
addExceptionProperties, assertValid, assertValid, clone, exception, exception, exception, getInternalId, getInternalName, resetInternalIdMethods inherited from class com.northconcepts.datapipeline.foundations.core.Bean
fromRecord, toRecord, toStringMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.northconcepts.datapipeline.core.DataExceptionContributor
addExceptionPropertiesMethods inherited from interface com.northconcepts.datapipeline.sourcecode.JavaCodeGenerator
generateJavaCodeMethods inherited from interface com.northconcepts.datapipeline.core.RecordSerializable
fromJson, fromJson, toJson, toJson, toJsonMethods inherited from interface com.northconcepts.datapipeline.core.XmlSerializable
fromXml, fromXml, fromXmlElement, toXml, toXml, toXml, toXml, toXml, toXmlElement
-
Constructor Details
-
SchemaPart
public SchemaPart()
-
-
Method Details
-
getSchemaDef
Returns the schema containing this part (itself for aSchemaDef) or null if the part is not in a schema. -
getSchemaPartContainer
Returns the schema part containing this one or null if there is none. -
getSchemaPartType
Returns the kind of part this is, such asSchemaPartType.ENTITY. -
getSchemaPartName
Returns the name identifying this part, such as an entity's name or an index field's field name. -
getSchemaName
Returns the name of the schema containing this part or null if it is not in a schema. -
getSchemaPartContainerName
Returns the name of thecontaining partor null if there is none. -
getSchemaPartContainerType
Returns the type of thecontaining partor null if there is none.
-