Class Attrib
- java.lang.Object
-
- org.opennms.netmgt.config.datacollction.nsclient.Attrib
-
public class Attrib extends java.lang.ObjectJava class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="alias" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="type" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <pattern value="([Cc](ounter|OUNTER)|[Gg](auge|AUGE))"/> </restriction> </simpleType> </attribute> <attribute name="maxval" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="minval" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description Attrib()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)java.lang.StringgetAlias()Gets the value of the alias property.java.lang.StringgetMaxval()Gets the value of the maxval property.java.lang.StringgetMinval()Gets the value of the minval property.java.lang.StringgetName()Gets the value of the name property.AttributeTypegetType()inthashCode()voidsetAlias(java.lang.String value)Sets the value of the alias property.voidsetMaxval(java.lang.String value)Sets the value of the maxval property.voidsetMinval(java.lang.String value)Sets the value of the minval property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetType(AttributeType type)
-
-
-
Field Detail
-
name
protected java.lang.String name
-
alias
protected java.lang.String alias
-
type
protected AttributeType type
-
maxval
protected java.lang.String maxval
-
minval
protected java.lang.String minval
-
-
Method Detail
-
getName
public java.lang.String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(java.lang.String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getAlias
public java.lang.String getAlias()
Gets the value of the alias property.- Returns:
- possible object is
String
-
setAlias
public void setAlias(java.lang.String value)
Sets the value of the alias property.- Parameters:
value- allowed object isString
-
getType
public AttributeType getType()
-
setType
public void setType(AttributeType type)
-
getMaxval
public java.lang.String getMaxval()
Gets the value of the maxval property.- Returns:
- possible object is
String
-
setMaxval
public void setMaxval(java.lang.String value)
Sets the value of the maxval property.- Parameters:
value- allowed object isString
-
getMinval
public java.lang.String getMinval()
Gets the value of the minval property.- Returns:
- possible object is
String
-
setMinval
public void setMinval(java.lang.String value)
Sets the value of the minval property.- Parameters:
value- allowed object isString
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-