package com.l7tech.gateway.api;

import com.l7tech.gateway.api.impl.AccessorSupport;
import com.l7tech.gateway.api.impl.AttributeExtensibleType;
import jakarta.xml.bind.annotation.XmlAnyElement;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlType;
import java.util.List;

@XmlRootElement(name = "GenericEntity")
@XmlType(name = "GenericEntityType", propOrder = {"nameValue", "descriptionValue", "entityClassNameValue", "enabledValue", "valueXmlValue", "extensions"})
@AccessorSupport.AccessibleResource(name = "genericEntities")
public class GenericEntityMO extends AccessibleObject {
   private AttributeExtensibleType.AttributeExtensibleString f;
   private AttributeExtensibleType.AttributeExtensibleString g;
   private AttributeExtensibleType.AttributeExtensibleString h;
   private AttributeExtensibleType.AttributeExtensibleString i;
   private AttributeExtensibleType.AttributeExtensibleBoolean j;

   public String getName() {
      return AttributeExtensibleType.get(this.f);
   }

   public void setName(String var1) {
      this.f = AttributeExtensibleType.set(this.f, var1);
   }

   public String getDescription() {
      return AttributeExtensibleType.get(this.g);
   }

   public void setDescription(String var1) {
      this.g = AttributeExtensibleType.set(this.g, var1);
   }

   public String getEntityClassName() {
      return AttributeExtensibleType.get(this.h);
   }

   public void setEntityClassName(String var1) {
      this.h = AttributeExtensibleType.set(this.h, var1);
   }

   public boolean getEnabled() {
      return AttributeExtensibleType.get(this.j);
   }

   public void setEnabled(boolean var1) {
      this.j = AttributeExtensibleType.set(this.j, var1);
   }

   public String getValueXml() {
      return AttributeExtensibleType.get(this.i);
   }

   public void setValueXml(String var1) {
      this.i = AttributeExtensibleType.set(this.i, var1);
   }

   @XmlAnyElement(lax = true)
   @Override
   protected List<Object> getExtensions() {
      return super.getExtensions();
   }

   @XmlElement(name = "Name", required = true)
   protected AttributeExtensibleType.AttributeExtensibleString getNameValue() {
      return this.f;
   }

   protected void setNameValue(AttributeExtensibleType.AttributeExtensibleString var1) {
      this.f = var1;
   }

   @XmlElement(name = "Description")
   protected AttributeExtensibleType.AttributeExtensibleString getDescriptionValue() {
      return this.g;
   }

   protected void setDescriptionValue(AttributeExtensibleType.AttributeExtensibleString var1) {
      this.g = var1;
   }

   @XmlElement(name = "EntityClassName", required = true)
   protected AttributeExtensibleType.AttributeExtensibleString getEntityClassNameValue() {
      return this.h;
   }

   protected void setEntityClassNameValue(AttributeExtensibleType.AttributeExtensibleString var1) {
      this.h = var1;
   }

   @XmlElement(name = "ValueXml", required = true)
   protected AttributeExtensibleType.AttributeExtensibleString getValueXmlValue() {
      return this.i;
   }

   protected void setValueXmlValue(AttributeExtensibleType.AttributeExtensibleString var1) {
      this.i = var1;
   }

   @XmlElement(name = "Enabled", required = true)
   protected AttributeExtensibleType.AttributeExtensibleBoolean getEnabledValue() {
      return this.j;
   }

   protected void setEnabledValue(AttributeExtensibleType.AttributeExtensibleBoolean var1) {
      this.j = var1;
   }

   GenericEntityMO() {
   }
}
