Class XmlContentLongWithAttributes

java.lang.Object
org.codehaus.modello.test.features.XmlContentLongWithAttributes
All Implemented Interfaces:
Serializable

public class XmlContentLongWithAttributes extends Object implements Serializable
<field xml.content="true"> with long type and some attributes.
Version:
$Revision$ $Date$
See Also:
  • Field Details

    • content

      private long content
      long primitive.
    • attr

      private String attr
      An XML attribute.
    • attr2

      private int attr2
      A 2nd XML attribute.
  • Constructor Details

  • Method Details

    • getAttr

      public String getAttr()
      Get an XML attribute.
      Returns:
      String
    • getAttr2

      public int getAttr2()
      Get a 2nd XML attribute.
      Returns:
      int
    • getContent

      public long getContent()
      Get long primitive.
      Returns:
      long
    • setAttr

      public void setAttr(String attr)
      Set an XML attribute.
      Parameters:
      attr - a attr object.
    • setAttr2

      public void setAttr2(int attr2)
      Set a 2nd XML attribute.
      Parameters:
      attr2 - a attr2 object.
    • setContent

      public void setContent(long content)
      Set long primitive.
      Parameters:
      content - a content object.