Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  
  package org.docx4j.schemas.microsoft.com.office.word_2006.wordml;
  

Java class for CT_Mcd complex type.

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

 <complexType name="CT_Mcd">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="macroName" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_String" />
       <attribute name="name" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_String" />
       <attribute name="menuHelp" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_String" />
       <attribute name="bEncrypt" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_UcharHexNumber" />
       <attribute name="cmg" type="{http://schemas.openxmlformats.org/wordprocessingml/2006/main}ST_UcharHexNumber" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "CT_Mcd")
 public class CTMcd
     implements Child
 {
 
     @XmlAttribute(name = "macroName")
     protected String macroName;
     @XmlAttribute(name = "name")
     protected String name;
     @XmlAttribute(name = "menuHelp")
     protected String menuHelp;
     @XmlAttribute(name = "bEncrypt")
     protected String bEncrypt;
     @XmlAttribute(name = "cmg")
     protected String cmg;
     @XmlTransient
     private Object parent;

    
Gets the value of the macroName property.

Returns:
possible object is
 
     public String getMacroName() {
         return ;
     }

    
Sets the value of the macroName property.

Parameters:
value allowed object is
 
     public void setMacroName(String value) {
         this. = value;
     }

    
Gets the value of the name property.

Returns:
possible object is
 
     public String getName() {
         return ;
     }

    
Sets the value of the name property.

Parameters:
value allowed object is
 
     public void setName(String value) {
         this. = value;
     }

    
Gets the value of the menuHelp property.

Returns:
possible object is
    public String getMenuHelp() {
        return ;
    }

    
Sets the value of the menuHelp property.

Parameters:
value allowed object is
    public void setMenuHelp(String value) {
        this. = value;
    }

    
Gets the value of the bEncrypt property.

Returns:
possible object is
    public String getBEncrypt() {
        return ;
    }

    
Sets the value of the bEncrypt property.

Parameters:
value allowed object is
    public void setBEncrypt(String value) {
        this. = value;
    }

    
Gets the value of the cmg property.

Returns:
possible object is
    public String getCmg() {
        return ;
    }

    
Sets the value of the cmg property.

Parameters:
value allowed object is
    public void setCmg(String value) {
        this. = value;
    }

    
Gets the parent object in the object tree representing the unmarshalled xml document.

Returns:
The parent object.
    public Object getParent() {
        return this.;
    }
    public void setParent(Object parent) {
        this. = parent;
    }

    
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.

Parameters:
parent The parent object in the object tree.
unmarshaller The unmarshaller that generated the instance.
    public void afterUnmarshal(Unmarshaller unmarshallerObject parent) {
        setParent(parent);
    }
New to GrepCode? Check out our FAQ X