Class Credit

java.lang.Object
org.audiveris.proxymusic.Credit

public class Credit extends Object
[JAXB: simplified definition]
The credit type represents the appearance of the title, composer, arranger, lyricist, copyright, dedication, and other text, symbols, and graphics that commonly appear on the first page of a score. The credit-words, credit-symbol, and credit-image elements are similar to the words, symbol, and image elements for directions. However, since the credit is not part of a measure, the default-x and default-y attributes adjust the origin relative to the bottom left-hand corner of the page. The enclosure for credit-words and credit-symbol is none by default. By default, a series of credit-words and credit-symbol elements within a single credit element follow one another in sequence visually. Non-positional formatting attributes are carried over from the previous element by default. The page attribute for the credit element specifies the page number where the credit should appear. This is an integer value that starts with 1 for the first page. Its value is 1 by default. Since credits occur before the music, these page numbers do not refer to the page numbering specified by the print element's page-number attribute. The credit-type element indicates the purpose behind a credit. Multiple types of data may be combined in a single credit, so multiple elements may be used. Standard values include page number, title, subtitle, composer, arranger, lyricist, rights, and part name.

Java class for credit complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="credit">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence maxOccurs="unbounded" minOccurs="0">
         <choice>
           <element name="credit-type" type="{http://www.w3.org/2001/XMLSchema}string"/>
           <element name="link" type="{}link"/>
           <element name="bookmark" type="{}bookmark"/>
           <element name="credit-image" type="{}image"/>
           <element name="credit-words" type="{}formatted-text"/>
           <element name="credit-symbol" type="{}formatted-text"/>
         </choice>
       </sequence>
       <attGroup ref="{}optional-unique-id"/>
       <attribute name="page" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • creditTypeOrLinkOrBookmark

      protected List<javax.xml.bind.JAXBElement<?>> creditTypeOrLinkOrBookmark
    • page

      protected BigInteger page
    • id

      protected String id
  • Constructor Details

    • Credit

      public Credit()
  • Method Details

    • getCreditTypeOrLinkOrBookmark

      public List<javax.xml.bind.JAXBElement<?>> getCreditTypeOrLinkOrBookmark()
      Gets the value of the creditTypeOrLinkOrBookmark property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the creditTypeOrLinkOrBookmark property.

      For example, to add a new item, do as follows:

          getCreditTypeOrLinkOrBookmark().add(newItem);
       

      Objects of the following type(s) are allowed in the list JAXBElement<String> JAXBElement<Link> JAXBElement<Bookmark> JAXBElement<Image> JAXBElement<FormattedText> JAXBElement<FormattedText>

    • getPage

      public BigInteger getPage()
      Gets the value of the page property.
      Returns:
      possible object is BigInteger
    • setPage

      public void setPage(BigInteger value)
      Sets the value of the page property.
      Parameters:
      value - allowed object is BigInteger
    • getId

      public String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String