gov.nih.nci.cagrid.metadata.common
Class UMLAttribute

java.lang.Object
  extended by gov.nih.nci.cagrid.metadata.common.UMLAttribute
All Implemented Interfaces:
java.io.Serializable

public class UMLAttribute
extends java.lang.Object
implements java.io.Serializable

caDSR-related Represents a UML attribute of the parent UML Class. Indication of isRequired=false means the operation will function without the existence of this attribute.

See Also:
Serialized Form

Constructor Summary
UMLAttribute()
           
UMLAttribute(java.lang.String dataTypeName, java.lang.String description, java.lang.String name, long publicID, SemanticMetadata[] semanticMetadata, ValueDomain valueDomain, float version)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDataTypeName()
          Gets the dataTypeName value for this UMLAttribute.
 java.lang.String getDescription()
          Gets the description value for this UMLAttribute.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 java.lang.String getName()
          Gets the name value for this UMLAttribute.
 long getPublicID()
          Gets the publicID value for this UMLAttribute.
 SemanticMetadata[] getSemanticMetadata()
          Gets the semanticMetadata value for this UMLAttribute.
 SemanticMetadata getSemanticMetadata(int i)
           
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 ValueDomain getValueDomain()
          Gets the valueDomain value for this UMLAttribute.
 float getVersion()
          Gets the version value for this UMLAttribute.
 int hashCode()
           
 void setDataTypeName(java.lang.String dataTypeName)
          Sets the dataTypeName value for this UMLAttribute.
 void setDescription(java.lang.String description)
          Sets the description value for this UMLAttribute.
 void setName(java.lang.String name)
          Sets the name value for this UMLAttribute.
 void setPublicID(long publicID)
          Sets the publicID value for this UMLAttribute.
 void setSemanticMetadata(int i, SemanticMetadata _value)
           
 void setSemanticMetadata(SemanticMetadata[] semanticMetadata)
          Sets the semanticMetadata value for this UMLAttribute.
 void setValueDomain(ValueDomain valueDomain)
          Sets the valueDomain value for this UMLAttribute.
 void setVersion(float version)
          Sets the version value for this UMLAttribute.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UMLAttribute

public UMLAttribute()

UMLAttribute

public UMLAttribute(java.lang.String dataTypeName,
                    java.lang.String description,
                    java.lang.String name,
                    long publicID,
                    SemanticMetadata[] semanticMetadata,
                    ValueDomain valueDomain,
                    float version)
Method Detail

getSemanticMetadata

public SemanticMetadata[] getSemanticMetadata()
Gets the semanticMetadata value for this UMLAttribute.

Returns:
semanticMetadata

setSemanticMetadata

public void setSemanticMetadata(SemanticMetadata[] semanticMetadata)
Sets the semanticMetadata value for this UMLAttribute.

Parameters:
semanticMetadata -

getSemanticMetadata

public SemanticMetadata getSemanticMetadata(int i)

setSemanticMetadata

public void setSemanticMetadata(int i,
                                SemanticMetadata _value)

getValueDomain

public ValueDomain getValueDomain()
Gets the valueDomain value for this UMLAttribute.

Returns:
valueDomain

setValueDomain

public void setValueDomain(ValueDomain valueDomain)
Sets the valueDomain value for this UMLAttribute.

Parameters:
valueDomain -

getDataTypeName

public java.lang.String getDataTypeName()
Gets the dataTypeName value for this UMLAttribute.

Returns:
dataTypeName

setDataTypeName

public void setDataTypeName(java.lang.String dataTypeName)
Sets the dataTypeName value for this UMLAttribute.

Parameters:
dataTypeName -

getDescription

public java.lang.String getDescription()
Gets the description value for this UMLAttribute.

Returns:
description

setDescription

public void setDescription(java.lang.String description)
Sets the description value for this UMLAttribute.

Parameters:
description -

getName

public java.lang.String getName()
Gets the name value for this UMLAttribute.

Returns:
name

setName

public void setName(java.lang.String name)
Sets the name value for this UMLAttribute.

Parameters:
name -

getPublicID

public long getPublicID()
Gets the publicID value for this UMLAttribute.

Returns:
publicID

setPublicID

public void setPublicID(long publicID)
Sets the publicID value for this UMLAttribute.

Parameters:
publicID -

getVersion

public float getVersion()
Gets the version value for this UMLAttribute.

Returns:
version

setVersion

public void setVersion(float version)
Sets the version value for this UMLAttribute.

Parameters:
version -

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer


Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.