/** * Create a new RelationMetaData. * * @param delegate the delegate * @return the metadata * @throws IllegalArgumentException for a null delegate or an unknown delegate */ public static RelationMetaData create(org.jboss.metadata.ejb.spec.RelationMetaData delegate) { if (delegate == null) throw new IllegalArgumentException("Null delegate"); return new RelationMetaData(delegate); }
/** * Create a new RelationMetaData. * * @param delegate the delegate * @return the metadata * @throws IllegalArgumentException for a null delegate or an unknown delegate */ public static RelationMetaData create(org.jboss.metadata.ejb.spec.RelationMetaData delegate) { if (delegate == null) throw new IllegalArgumentException("Null delegate"); return new RelationMetaData(delegate); }
/** * Gets the relation meta data to which the role belongs. * * @return the relation to which the relationship role belongs */ public RelationMetaData getRelationMetaData() { return new RelationMetaData(getDelegate().getRelation()); }
/** * Gets the relation meta data to which the role belongs. * * @return the relation to which the relationship role belongs */ public RelationMetaData getRelationMetaData() { return new RelationMetaData(getDelegate().getRelation()); }