public class WSAttribute extends AbstractData
| Constructor and Description |
|---|
WSAttribute() |
WSAttribute(java.lang.String name)
Constructor: default attribute is a string nullable.
|
WSAttribute(java.lang.String name,
java.lang.String type)
Constructor: default attribute is nullable.
|
WSAttribute(java.lang.String name,
java.lang.String type,
java.lang.Boolean nullable)
Constructor: default attribute is not a key nor a password.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
java.lang.String |
getType() |
boolean |
isKey() |
boolean |
isNullable() |
boolean |
isPassword() |
void |
setKey(boolean key) |
void |
setName(java.lang.String name) |
void |
setNullable(boolean nullable) |
void |
setPassword(boolean password) |
void |
setType(java.lang.String type) |
equals, hashCode, toStringpublic WSAttribute()
public WSAttribute(java.lang.String name)
name - defines the name of the attribute.public WSAttribute(java.lang.String name,
java.lang.String type)
name - defines the name of the attribute.type - defines the type of the attribute.public WSAttribute(java.lang.String name,
java.lang.String type,
java.lang.Boolean nullable)
name - defines the name of the attribute.type - defines the type of the attribute.isNullable - defines if the attribute is nullable.public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getType()
public void setType(java.lang.String type)
public boolean isKey()
public void setKey(boolean key)
public boolean isNullable()
public void setNullable(boolean nullable)
public boolean isPassword()
public void setPassword(boolean password)
Copyright © 2013. All Rights Reserved.