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;
}
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;
}
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;
}
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;
}
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;
}
Aggregations