org.jboss.shrinkwrap.descriptor.api.orm10
Interface AssociationOverride<T>

All Superinterfaces:
Child<T>

public interface AssociationOverride<T>
extends Child<T>

This interface defines the contract for the association-override xsd type

Since:
Generation date :2013-01-26T19:26:58.657+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 JoinColumn<AssociationOverride<T>> createJoinColumn()
          Creates a new join-column element
 List<JoinColumn<AssociationOverride<T>>> getAllJoinColumn()
          Returns all join-column elements
 String getName()
          Returns the name attribute
 JoinColumn<AssociationOverride<T>> getOrCreateJoinColumn()
          If not already created, a new join-column element will be created and returned.
 AssociationOverride<T> name(String name)
          Sets the name attribute
 AssociationOverride<T> removeAllJoinColumn()
          Removes all join-column elements
 AssociationOverride<T> removeName()
          Removes the name attribute
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

getOrCreateJoinColumn

JoinColumn<AssociationOverride<T>> getOrCreateJoinColumn()
If not already created, a new join-column element will be created and returned. Otherwise, the first existing join-column element will be returned.

Returns:
the instance defined for the element join-column

createJoinColumn

JoinColumn<AssociationOverride<T>> createJoinColumn()
Creates a new join-column element

Returns:
the new created instance of JoinColumn>

getAllJoinColumn

List<JoinColumn<AssociationOverride<T>>> getAllJoinColumn()
Returns all join-column elements

Returns:
list of join-column

removeAllJoinColumn

AssociationOverride<T> removeAllJoinColumn()
Removes all join-column elements

Returns:
the current instance of JoinColumn>

name

AssociationOverride<T> name(String name)
Sets the name attribute

Parameters:
name - the value for the attribute name
Returns:
the current instance of AssociationOverride

getName

String getName()
Returns the name attribute

Returns:
the value defined for the attribute name

removeName

AssociationOverride<T> removeName()
Removes the name attribute

Returns:
the current instance of AssociationOverride


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.