/** * <p> * The length of the column that persists this entity attribute. * </p> * @see EntityAttribute#getColumnLength() */ public String getColumnLength() { return this.getSuperEntityAttribute().getColumnLength(); }
/** * <p> * The name of the model element. * </p> * @see ModelElementFacade#getName() */ public String getName() { return this.getSuperEntityAttribute().getName(); }
/** * <p> * The classifier owning this attribute. * </p> * @see org.andromda.metafacades.uml.AttributeFacade#getType() */ public ClassifierFacade getType() { return this.getSuperEntityAttribute().getType(); }
public boolean evaluate(final Object object) { boolean valid = true; if (!withIdentifiers && object != null && object instanceof EntityAttribute) { valid = !((EntityAttribute)object).isIdentifier(); } if (valid && !withDerived && object instanceof EntityAttribute) { valid = !((EntityAttribute)object).isDerived(); } return valid; } });
if (withIdentifiers || !attribute.isIdentifier()) if (attribute.getType() != null) buffer.append(attribute.getType().getFullyQualifiedName()); buffer.append(attribute.getName()); separator = ", ";
public boolean evaluate(Object object) { boolean valid = true; if (!withIdentifiers && object instanceof EntityAttribute) { valid = !((EntityAttribute)object).isIdentifier(); } return valid; } });
if (identifier != null && identifier.getType() != null) String typeName = identifier.getType().getFullyQualifiedName(true); value = this.getSqlMappings().getTo(typeName); final String columnLength = identifier.getColumnLength(); if (StringUtils.isNotBlank(columnLength))
/** * <p> * If the attribute is unique within the Collection type. UML2 * only. UML14 always returns false. Unique+Ordered determines the * implementation Collection type. Default=false. * </p> * @see org.andromda.metafacades.uml.AttributeFacade#isUnique() */ public boolean isUnique() { return this.getSuperEntityAttribute().isUnique(); }
/** * <p> * The name of the table column to which this entity is mapped. * </p> * @see EntityAttribute#getColumnName() */ public String getColumnName() { return this.getSuperEntityAttribute().getColumnName(); }
/** * <p> * If the attribute is derived (its value is computed). UML2 only. * UML14 always returns false. Default=false. * </p> * @see org.andromda.metafacades.uml.AttributeFacade#isDerived() */ public boolean isDerived() { return this.getSuperEntityAttribute().isDerived(); }
/** * <p> * Finds the tagged value with the specified 'tagName'. In case * there are more values the first one found will be returned. * </p> * @see ModelElementFacade#findTaggedValue(String tagName) */ public Object findTaggedValue(String tagName) { return this.getSuperEntityAttribute().findTaggedValue(tagName); }
/** * <p> * Returns all the values for the tagged value with the specified * name. The returned collection will contains only String * instances, or will be empty. Never null. * </p> * @see ModelElementFacade#findTaggedValues(String tagName) */ public Collection findTaggedValues(String tagName) { return this.getSuperEntityAttribute().findTaggedValues(tagName); }
/** * <p> * Copies all tagged values from the given ModelElementFacade to * this model element facade. * </p> * @see ModelElementFacade#copyTaggedValues(ModelElementFacade element) */ public void copyTaggedValues(ModelElementFacade element) { this.getSuperEntityAttribute().copyTaggedValues(element); }
if (withIdentifiers || !entityAttribute.isIdentifier()) if (entityAttribute.getType() != null) buffer.append(entityAttribute.getType().getFullyQualifiedName()); buffer.append(entityAttribute.getName()); separator = ", ";
public boolean evaluate(final Object object) { boolean valid = true; if (!withIdentifiers && object != null && object instanceof EntityAttribute) { valid = !((EntityAttribute)object).isIdentifier(); } return valid; } });
public boolean evaluate(Object object) { boolean valid = true; if (!withIdentifiers && object instanceof EntityAttribute) { valid = !((EntityAttribute)object).isIdentifier(); } if (valid && !withDerived && object instanceof EntityAttribute) { valid = !((EntityAttribute)object).isDerived(); } return valid; } });
if (identifier != null && identifier.getType() != null) final String typeName = identifier.getType().getFullyQualifiedName(true); value = this.getSqlMappings().getTo(typeName); final String columnLength = identifier.getColumnLength(); if (StringUtils.isNotBlank(columnLength))
/** * <p> * If the attribute is unique within the Collection type. UML2 * only. UML14 always returns false. Unique+Ordered determines the * implementation Collection type. Default=false. * </p> * @see org.andromda.metafacades.uml.AttributeFacade#isUnique() */ public boolean isUnique() { return this.getSuperEntityAttribute().isUnique(); }
/** * <p> * The name of the table column to which this entity is mapped. * </p> * @see EntityAttribute#getColumnName() */ public String getColumnName() { return this.getSuperEntityAttribute().getColumnName(); }
/** * <p> * If the attribute is derived (its value is computed). UML2 only. * UML14 always returns false. Default=false. * </p> * @see org.andromda.metafacades.uml.AttributeFacade#isDerived() */ public boolean isDerived() { return this.getSuperEntityAttribute().isDerived(); }