/* (non-Javadoc) * @see tudresden.ocl20.pivot.pivotmodel.base.AbstractProperty#getType() */ @Override public Type getType() { Type elementType = this.factory.createType(dslColumn.getType()); if (dslColumn.getType().getName().contains(" ARRAY") || dslColumn.getType().getName().contains("[]") || dslColumn.getType().getName().contains("[ ]")) { elementType = EssentialOclPlugin.getOclLibraryProvider().getOclLibrary().getBagType(elementType); } return elementType; }
/* (non-Javadoc) * @see tudresden.ocl20.pivot.pivotmodel.impl.PropertyImpl#isIdentifier() */ @Override public boolean isIdentifier() { for (UniqueKey uk : dslColumn.getUniqueKey()) { if (uk instanceof PrimaryKey) return true; } return false; }
/* (non-Javadoc) * @see tudresden.ocl20.pivot.pivotmodel.base.AbstractProperty#getOwningType() */ @Override public Type getOwningType() { return this.factory.createType(dslColumn.getOwner()); }