com.redhat.rhevm.api.model.LogicalUnit Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2011.09.04 at 05:40:00 PM IDT
//
package com.redhat.rhevm.api.model;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for LogicalUnit complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="LogicalUnit">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <group ref="{}IscsiTarget"/>
* </sequence>
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "LogicalUnit", propOrder = {
"address",
"port",
"target",
"username",
"password",
"serial",
"vendorId",
"productId",
"lunMapping",
"portal",
"size",
"paths"
})
public class LogicalUnit {
protected String address;
@XmlSchemaType(name = "unsignedShort")
protected Integer port;
protected String target;
protected String username;
protected String password;
protected String serial;
@XmlElement(name = "vendor_id")
protected String vendorId;
@XmlElement(name = "product_id")
protected String productId;
@XmlElement(name = "lun_mapping")
protected Integer lunMapping;
protected String portal;
protected Long size;
protected Integer paths;
@XmlAttribute
protected String id;
/**
* Gets the value of the address property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAddress() {
return address;
}
/**
* Sets the value of the address property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAddress(String value) {
this.address = value;
}
public boolean isSetAddress() {
return (this.address!= null);
}
/**
* Gets the value of the port property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getPort() {
return port;
}
/**
* Sets the value of the port property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setPort(Integer value) {
this.port = value;
}
public boolean isSetPort() {
return (this.port!= null);
}
/**
* Gets the value of the target property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTarget() {
return target;
}
/**
* Sets the value of the target property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTarget(String value) {
this.target = value;
}
public boolean isSetTarget() {
return (this.target!= null);
}
/**
* Gets the value of the username property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUsername() {
return username;
}
/**
* Sets the value of the username property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setUsername(String value) {
this.username = value;
}
public boolean isSetUsername() {
return (this.username!= null);
}
/**
* Gets the value of the password property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPassword() {
return password;
}
/**
* Sets the value of the password property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPassword(String value) {
this.password = value;
}
public boolean isSetPassword() {
return (this.password!= null);
}
/**
* Gets the value of the serial property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSerial() {
return serial;
}
/**
* Sets the value of the serial property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSerial(String value) {
this.serial = value;
}
public boolean isSetSerial() {
return (this.serial!= null);
}
/**
* Gets the value of the vendorId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getVendorId() {
return vendorId;
}
/**
* Sets the value of the vendorId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setVendorId(String value) {
this.vendorId = value;
}
public boolean isSetVendorId() {
return (this.vendorId!= null);
}
/**
* Gets the value of the productId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getProductId() {
return productId;
}
/**
* Sets the value of the productId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setProductId(String value) {
this.productId = value;
}
public boolean isSetProductId() {
return (this.productId!= null);
}
/**
* Gets the value of the lunMapping property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getLunMapping() {
return lunMapping;
}
/**
* Sets the value of the lunMapping property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setLunMapping(Integer value) {
this.lunMapping = value;
}
public boolean isSetLunMapping() {
return (this.lunMapping!= null);
}
/**
* Gets the value of the portal property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPortal() {
return portal;
}
/**
* Sets the value of the portal property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPortal(String value) {
this.portal = value;
}
public boolean isSetPortal() {
return (this.portal!= null);
}
/**
* Gets the value of the size property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getSize() {
return size;
}
/**
* Sets the value of the size property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setSize(Long value) {
this.size = value;
}
public boolean isSetSize() {
return (this.size!= null);
}
/**
* Gets the value of the paths property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getPaths() {
return paths;
}
/**
* Sets the value of the paths property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setPaths(Integer value) {
this.paths = value;
}
public boolean isSetPaths() {
return (this.paths!= null);
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
public boolean isSetId() {
return (this.id!= null);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy