org.apache.tuscany.sdo.model
Interface Property

All Known Implementing Classes:
AttributeImpl, PropertyImpl, ReferenceImpl

public interface Property

A representation of the model object 'Property'.

The following features are supported:

Note: The getDefault and getOpposite methods had to be renamed to avoid conflict with the commonj.sdo.Property getDefault and getOpposite methods in classes that implement both. Eventually, the two interfaces should be brought in-line with one another -- James Snell


Method Summary
 java.util.List getAliasName()
          Returns the value of the 'Alias Name' attribute list.
 commonj.sdo.Sequence getAny()
          Returns the value of the 'Any' attribute list.
 commonj.sdo.Sequence getAnyAttribute()
          Returns the value of the 'Any Attribute' attribute list.
 java.lang.String getDefault_()
          Returns the value of the 'Default' attribute.
 java.lang.String getName()
          Returns the value of the 'Name' attribute.
 Property getOpposite_()
          Returns the value of the 'Opposite' reference.
 Type getType_()
          Returns the value of the 'Type' reference.
 boolean isContainment()
          Returns the value of the 'Containment' attribute.
 boolean isMany()
          Returns the value of the 'Many' attribute.
 boolean isReadOnly()
          Returns the value of the 'Read Only' attribute.
 boolean isSetContainment()
          Returns whether the value of the 'Containment' attribute is set.
 boolean isSetMany()
          Returns whether the value of the 'Many' attribute is set.
 boolean isSetReadOnly()
          Returns whether the value of the 'Read Only' attribute is set.
 void setContainment(boolean value)
          Sets the value of the 'Containment' attribute.
 void setDefault_(java.lang.String value)
          Sets the value of the 'Default' attribute.
 void setMany(boolean value)
          Sets the value of the 'Many' attribute.
 void setName(java.lang.String value)
          Sets the value of the 'Name' attribute.
 void setOpposite_(Property value)
          Sets the value of the 'Opposite' reference.
 void setReadOnly(boolean value)
          Sets the value of the 'Read Only' attribute.
 void setType(Type value)
          Sets the value of the 'Type' reference.
 void unsetContainment()
          Unsets the value of the 'Containment' attribute.
 void unsetMany()
          Unsets the value of the 'Many' attribute.
 void unsetReadOnly()
          Unsets the value of the 'Read Only' attribute.
 

Method Detail

getAliasName

java.util.List getAliasName()
Returns the value of the 'Alias Name' attribute list. The list contents are of type String.

If the meaning of the 'Alias Name' attribute list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Alias Name' attribute list.

getAny

commonj.sdo.Sequence getAny()
Returns the value of the 'Any' attribute list.

If the meaning of the 'Any' attribute list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Any' attribute list.

isContainment

boolean isContainment()
Returns the value of the 'Containment' attribute.

If the meaning of the 'Containment' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Containment' attribute.
See Also:
isSetContainment(), unsetContainment(), setContainment(boolean)

setContainment

void setContainment(boolean value)
Sets the value of the 'Containment' attribute.

Parameters:
value - the new value of the 'Containment' attribute.
See Also:
isSetContainment(), unsetContainment(), isContainment()

unsetContainment

void unsetContainment()
Unsets the value of the 'Containment' attribute.

See Also:
isSetContainment(), isContainment(), setContainment(boolean)

isSetContainment

boolean isSetContainment()
Returns whether the value of the 'Containment' attribute is set.

Returns:
whether the value of the 'Containment' attribute is set.
See Also:
unsetContainment(), isContainment(), setContainment(boolean)

getDefault_

java.lang.String getDefault_()
Returns the value of the 'Default' attribute.

If the meaning of the 'Default' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Default' attribute.
See Also:
#setDefault(String)

setDefault_

void setDefault_(java.lang.String value)
Sets the value of the 'Default' attribute.

Parameters:
value - the new value of the 'Default' attribute.
See Also:
#getDefault()

isMany

boolean isMany()
Returns the value of the 'Many' attribute.

If the meaning of the 'Many' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Many' attribute.
See Also:
isSetMany(), unsetMany(), setMany(boolean)

setMany

void setMany(boolean value)
Sets the value of the 'Many' attribute.

Parameters:
value - the new value of the 'Many' attribute.
See Also:
isSetMany(), unsetMany(), isMany()

unsetMany

void unsetMany()
Unsets the value of the 'Many' attribute.

See Also:
isSetMany(), isMany(), setMany(boolean)

isSetMany

boolean isSetMany()
Returns whether the value of the 'Many' attribute is set.

Returns:
whether the value of the 'Many' attribute is set.
See Also:
unsetMany(), isMany(), setMany(boolean)

getName

java.lang.String getName()
Returns the value of the 'Name' attribute.

If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Name' attribute.
See Also:
setName(String)

setName

void setName(java.lang.String value)
Sets the value of the 'Name' attribute.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()

getOpposite_

Property getOpposite_()
Returns the value of the 'Opposite' reference.

If the meaning of the 'Opposite' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Opposite' reference.
See Also:
#setOpposite(Property)

setOpposite_

void setOpposite_(Property value)
Sets the value of the 'Opposite' reference.

Parameters:
value - the new value of the 'Opposite' reference.
See Also:
#getOpposite()

isReadOnly

boolean isReadOnly()
Returns the value of the 'Read Only' attribute.

If the meaning of the 'Read Only' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Read Only' attribute.
See Also:
isSetReadOnly(), unsetReadOnly(), setReadOnly(boolean)

setReadOnly

void setReadOnly(boolean value)
Sets the value of the 'Read Only' attribute.

Parameters:
value - the new value of the 'Read Only' attribute.
See Also:
isSetReadOnly(), unsetReadOnly(), isReadOnly()

unsetReadOnly

void unsetReadOnly()
Unsets the value of the 'Read Only' attribute.

See Also:
isSetReadOnly(), isReadOnly(), setReadOnly(boolean)

isSetReadOnly

boolean isSetReadOnly()
Returns whether the value of the 'Read Only' attribute is set.

Returns:
whether the value of the 'Read Only' attribute is set.
See Also:
unsetReadOnly(), isReadOnly(), setReadOnly(boolean)

getType_

Type getType_()
Returns the value of the 'Type' reference.

If the meaning of the 'Type' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Type' reference.
See Also:
setType(Type)

setType

void setType(Type value)
Sets the value of the 'Type' reference.

Parameters:
value - the new value of the 'Type' reference.
See Also:
#getType()

getAnyAttribute

commonj.sdo.Sequence getAnyAttribute()
Returns the value of the 'Any Attribute' attribute list.

If the meaning of the 'Any Attribute' attribute list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Any Attribute' attribute list.


Copyright © 2006 Apache Software Foundation. All Rights Reserved.