Search in sources :

Example 31 with ColumnMetaData

use of org.datanucleus.metadata.ColumnMetaData in project datanucleus-api-jdo by datanucleus.

the class VersionMetadataImpl method getColumns.

/* (non-Javadoc)
     * @see javax.jdo.metadata.VersionMetadata#getColumns()
     */
public ColumnMetadata[] getColumns() {
    ColumnMetaData internalColmd = getInternal().getColumnMetaData();
    if (internalColmd == null) {
        return null;
    }
    ColumnMetadataImpl[] colmds = new ColumnMetadataImpl[1];
    for (int i = 0; i < colmds.length; i++) {
        colmds[i] = new ColumnMetadataImpl(internalColmd);
        colmds[i].parent = this;
    }
    return colmds;
}
Also used : ColumnMetaData(org.datanucleus.metadata.ColumnMetaData)

Example 32 with ColumnMetaData

use of org.datanucleus.metadata.ColumnMetaData in project datanucleus-api-jdo by datanucleus.

the class OrderMetadataImpl method newColumnMetadata.

/* (non-Javadoc)
     * @see javax.jdo.metadata.OrderMetadata#newColumnMetadata()
     */
public ColumnMetadata newColumnMetadata() {
    ColumnMetaData internalColmd = getInternal().newColumnMetaData();
    ColumnMetadataImpl colmd = new ColumnMetadataImpl(internalColmd);
    colmd.parent = this;
    return colmd;
}
Also used : ColumnMetaData(org.datanucleus.metadata.ColumnMetaData)

Example 33 with ColumnMetaData

use of org.datanucleus.metadata.ColumnMetaData in project datanucleus-api-jdo by datanucleus.

the class PrimaryKeyMetadataImpl method newColumnMetadata.

/* (non-Javadoc)
     * @see javax.jdo.metadata.PrimaryKeyMetadata#newColumnMetadata()
     */
public ColumnMetadata newColumnMetadata() {
    ColumnMetaData internalColmd = getInternal().newColumnMetadata();
    ColumnMetadataImpl colmd = new ColumnMetadataImpl(internalColmd);
    colmd.parent = this;
    return colmd;
}
Also used : ColumnMetaData(org.datanucleus.metadata.ColumnMetaData)

Example 34 with ColumnMetaData

use of org.datanucleus.metadata.ColumnMetaData in project datanucleus-api-jdo by datanucleus.

the class DatastoreIdentityMetadataImpl method newColumnMetadata.

/* (non-Javadoc)
     * @see javax.jdo.metadata.DatastoreIdentityMetadata#newColumnMetadata()
     */
public ColumnMetadata newColumnMetadata() {
    ColumnMetaData internalColmd = getInternal().newColumnMetaData();
    ColumnMetadataImpl colmd = new ColumnMetadataImpl(internalColmd);
    colmd.parent = this;
    return colmd;
}
Also used : ColumnMetaData(org.datanucleus.metadata.ColumnMetaData)

Example 35 with ColumnMetaData

use of org.datanucleus.metadata.ColumnMetaData in project datanucleus-api-jdo by datanucleus.

the class DatastoreIdentityMetadataImpl method getColumns.

/* (non-Javadoc)
     * @see javax.jdo.metadata.DatastoreIdentityMetadata#getColumns()
     */
public ColumnMetadata[] getColumns() {
    ColumnMetaData internalColmd = getInternal().getColumnMetaData();
    if (internalColmd == null) {
        return null;
    }
    ColumnMetadataImpl[] colmds = new ColumnMetadataImpl[1];
    for (int i = 0; i < colmds.length; i++) {
        colmds[i] = new ColumnMetadataImpl(internalColmd);
        colmds[i].parent = this;
    }
    return colmds;
}
Also used : ColumnMetaData(org.datanucleus.metadata.ColumnMetaData)

Aggregations

ColumnMetaData (org.datanucleus.metadata.ColumnMetaData)85 AbstractMemberMetaData (org.datanucleus.metadata.AbstractMemberMetaData)28 NucleusUserException (org.datanucleus.exceptions.NucleusUserException)16 ClassMetaData (org.datanucleus.metadata.ClassMetaData)14 AbstractClassMetaData (org.datanucleus.metadata.AbstractClassMetaData)13 ElementMetaData (org.datanucleus.metadata.ElementMetaData)13 DatastoreIdentifier (org.datanucleus.store.rdbms.identifier.DatastoreIdentifier)11 ClassLoaderResolver (org.datanucleus.ClassLoaderResolver)10 JoinMetaData (org.datanucleus.metadata.JoinMetaData)9 MetaDataManager (org.datanucleus.metadata.MetaDataManager)9 MappingManager (org.datanucleus.store.rdbms.mapping.MappingManager)8 Column (org.datanucleus.store.rdbms.table.Column)8 NucleusContext (org.datanucleus.NucleusContext)7 PersistenceNucleusContextImpl (org.datanucleus.PersistenceNucleusContextImpl)7 JPAMetaDataManager (org.datanucleus.api.jpa.metadata.JPAMetaDataManager)7 PrimaryKeyMetaData (org.datanucleus.metadata.PrimaryKeyMetaData)7 IdentifierFactory (org.datanucleus.store.rdbms.identifier.IdentifierFactory)7 JavaTypeMapping (org.datanucleus.store.rdbms.mapping.java.JavaTypeMapping)7 DiscriminatorMetaData (org.datanucleus.metadata.DiscriminatorMetaData)6 PersistenceUnitMetaData (org.datanucleus.metadata.PersistenceUnitMetaData)6