use of org.datanucleus.metadata.ColumnMetaData in project datanucleus-api-jdo by datanucleus.
the class TypeMetadataImpl method getColumns.
/* (non-Javadoc)
* @see javax.jdo.metadata.ComponentMetadata#getColumns()
*/
public ColumnMetadata[] getColumns() {
List internalColmds = getInternal().getUnmappedColumns();
if (internalColmds == null) {
return null;
}
ColumnMetadataImpl[] colmds = new ColumnMetadataImpl[internalColmds.size()];
for (int i = 0; i < colmds.length; i++) {
colmds[i] = new ColumnMetadataImpl((ColumnMetaData) internalColmds.get(i));
colmds[i].parent = this;
}
return colmds;
}
use of org.datanucleus.metadata.ColumnMetaData in project datanucleus-api-jdo by datanucleus.
the class TypeMetadataImpl method newColumnMetadata.
/* (non-Javadoc)
* @see javax.jdo.metadata.ComponentMetadata#newColumnMetadata()
*/
public ColumnMetadata newColumnMetadata() {
ColumnMetaData internalColmd = getInternal().newUnmappedColumnMetaData();
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 ValueMetadataImpl method newColumnMetadata.
/* (non-Javadoc)
* @see javax.jdo.metadata.KeyMetadata#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 ElementMetadataImpl method newColumnMetadata.
/* (non-Javadoc)
* @see javax.jdo.metadata.ElementMetadata#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 ForeignKeyMetadataImpl method newColumnMetadata.
/* (non-Javadoc)
* @see javax.jdo.metadata.ForeignKeyMetadata#newColumnMetadata()
*/
public ColumnMetadata newColumnMetadata() {
ColumnMetaData internalColmd = getInternal().newColumnMetaData();
ColumnMetadataImpl colmd = new ColumnMetadataImpl(internalColmd);
colmd.parent = this;
return colmd;
}
Aggregations