public FieldMetaData getValueMappedByMetaData() { if (getValueMappedBy() != null && _mappedByMeta == null) { ClassMetaData meta = _owner.getElement().getTypeMetaData(); FieldMetaData field = (meta == null) ? null : meta.getField(getValueMappedBy()); if (field == null) throw new MetaDataException(_loc.get("no-mapped-by", this, getValueMappedBy())); if (field.getMappedBy() != null) throw new MetaDataException(_loc.get("circ-mapped-by", this, getValueMappedBy())); _mappedByMeta = field; } return _mappedByMeta; }
public FieldMetaData getValueMappedByMetaData() { if (getValueMappedBy() != null && _mappedByMeta == null) { ClassMetaData meta = _owner.getElement().getTypeMetaData(); FieldMetaData field = (meta == null) ? null : meta.getField(getValueMappedBy()); if (field == null) throw new MetaDataException(_loc.get("no-mapped-by", this, getValueMappedBy())); if (field.getMappedBy() != null) throw new MetaDataException(_loc.get("circ-mapped-by", this, getValueMappedBy())); _mappedByMeta = field; } return _mappedByMeta; }
public FieldMetaData getValueMappedByMetaData() { if (getValueMappedBy() != null && _mappedByMeta == null) { ClassMetaData meta = _owner.getElement().getTypeMetaData(); FieldMetaData field = (meta == null) ? null : meta.getField(getValueMappedBy()); if (field == null) throw new MetaDataException(_loc.get("no-mapped-by", this, getValueMappedBy())); if (field.getMappedBy() != null) throw new MetaDataException(_loc.get("circ-mapped-by", this, getValueMappedBy())); _mappedByMeta = field; } return _mappedByMeta; }
public FieldMetaData getValueMappedByMetaData() { if (getValueMappedBy() != null && _mappedByMeta == null) { ClassMetaData meta = _owner.getElement().getTypeMetaData(); FieldMetaData field = (meta == null) ? null : meta.getField(getValueMappedBy()); if (field == null) throw new MetaDataException(_loc.get("no-mapped-by", this, getValueMappedBy())); if (field.getMappedBy() != null) throw new MetaDataException(_loc.get("circ-mapped-by", this, getValueMappedBy())); _mappedByMeta = field; } return _mappedByMeta; }
public FieldMetaData getValueMappedByMetaData() { if (getValueMappedBy() != null && _mappedByMeta == null) { ClassMetaData meta = _owner.getElement().getTypeMetaData(); FieldMetaData field = (meta == null) ? null : meta.getField(getValueMappedBy()); if (field == null) throw new MetaDataException(_loc.get("no-mapped-by", this, getValueMappedBy())); if (field.getMappedBy() != null) throw new MetaDataException(_loc.get("circ-mapped-by", this, getValueMappedBy())); _mappedByMeta = field; } return _mappedByMeta; }