public final class PSDetails extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static int |
MAX_SIZE
The maximum valid index for the fields.
|
Constructor and Description |
---|
PSDetails() |
Modifier and Type | Method and Description |
---|---|
EntityValidity |
checkValid()
Check that the membership details are valid.
|
String |
getField(int i)
Returns the detail field on that membership.
|
boolean |
isValid() |
void |
setField(int i,
String value)
Sets the detail field on that membership.
|
public static final int MAX_SIZE
public String getField(int i)
i
- the 1-based index of the field.null
if none.IndexOutOfBoundsException
- If the index is less than 1 or greater than 15.public void setField(int i, String value)
i
- the 1-based index of the field.value
- the value to set.IndexOutOfBoundsException
- If the index is less than 1 or greater than 15.public EntityValidity checkValid()
public boolean isValid()
true
if any of the field values exceed 100 characters.Copyright © 2016 Allette Systems. All rights reserved.