org.eclipse.modisco.jee.ejbjar.EjbJar30
Interface IconType


public interface IconType

A representation of the model object 'Icon Type'. The icon type contains small-icon and large-icon elements that specify the file names for small and large GIF, JPEG, or PNG icon images used to represent the parent element in a GUI tool. The xml:lang attribute defines the language that the icon file names are provided in. Its value is "en" (English) by default.

The following features are supported:

See Also:
EjbJar30Package.getIconType()
Generated:
Model:
extendedMetaData="name='iconType' kind='elementOnly'"

Method Summary
 java.lang.String getId()
          Returns the value of the 'Id' attribute.
 java.lang.String getLang()
          Returns the value of the 'Lang' attribute.
 PathType getLargeIcon()
          Returns the value of the 'Large Icon' containment reference.
 PathType getSmallIcon()
          Returns the value of the 'Small Icon' containment reference.
 void setId(java.lang.String value)
          Sets the value of the 'Id' attribute.
 void setLang(java.lang.String value)
          Sets the value of the 'Lang' attribute.
 void setLargeIcon(PathType value)
          Sets the value of the 'Large Icon' containment reference.
 void setSmallIcon(PathType value)
          Sets the value of the 'Small Icon' containment reference.
 

Method Detail

getSmallIcon

PathType getSmallIcon()
Returns the value of the 'Small Icon' containment reference. employee-service-icon16x16.jpg ]]>

Returns:
the value of the 'Small Icon' containment reference.
See Also:
setSmallIcon(PathType), EjbJar30Package.getIconType_SmallIcon()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='small-icon' namespace='http://java.sun.com/xml/ns/javaee'"

setSmallIcon

void setSmallIcon(PathType value)
Sets the value of the 'Small Icon' containment reference.

Parameters:
value - the new value of the 'Small Icon' containment reference.
See Also:
getSmallIcon()
Generated:

getLargeIcon

PathType getLargeIcon()
Returns the value of the 'Large Icon' containment reference. employee-service-icon32x32.jpg ]]>

Returns:
the value of the 'Large Icon' containment reference.
See Also:
setLargeIcon(PathType), EjbJar30Package.getIconType_LargeIcon()
Generated:
Model:
containment="true" extendedMetaData="kind='element' name='large-icon' namespace='http://java.sun.com/xml/ns/javaee'"

setLargeIcon

void setLargeIcon(PathType value)
Sets the value of the 'Large Icon' containment reference.

Parameters:
value - the new value of the 'Large Icon' containment reference.
See Also:
getLargeIcon()
Generated:

getId

java.lang.String getId()
Returns the value of the 'Id' attribute.

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

Returns:
the value of the 'Id' attribute.
See Also:
setId(String), EjbJar30Package.getIconType_Id()
Generated:
Model:
id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" extendedMetaData="kind='attribute' name='id'"

setId

void setId(java.lang.String value)
Sets the value of the 'Id' attribute.

Parameters:
value - the new value of the 'Id' attribute.
See Also:
getId()
Generated:

getLang

java.lang.String getLang()
Returns the value of the 'Lang' attribute.

lang (as an attribute name)

denotes an attribute whose value is a language code for the natural language of the content of any element; its value is inherited. This name is reserved by virtue of its definition in the XML specification.

Notes

Attempting to install the relevant ISO 2- and 3-letter codes as the enumerated possible values is probably never going to be a realistic possibility.

See BCP 47 at http://www.rfc-editor.org/rfc/bcp/bcp47.txt and the IANA language subtag registry at http://www.iana.org/assignments/language-subtag-registry for further information.

The union allows for the 'un-declaration' of xml:lang with the empty string.

Returns:
the value of the 'Lang' attribute.
See Also:
setLang(String), EjbJar30Package.getIconType_Lang()
Generated:
Model:
dataType="org.eclipse.emf.ecore.xml.namespace.LangType" extendedMetaData="kind='attribute' name='lang' namespace='http://www.w3.org/XML/1998/namespace'"

setLang

void setLang(java.lang.String value)
Sets the value of the 'Lang' attribute.

Parameters:
value - the new value of the 'Lang' attribute.
See Also:
getLang()
Generated: