|
AR System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bmc.arsys.api.FieldLimit com.bmc.arsys.api.AttachmentFieldLimit
public class AttachmentFieldLimit
The AttachmentFieldLimit
class defines the value limits for an attachment field (DataType.ATTACHMENT
).
Constructor Summary | |
---|---|
AttachmentFieldLimit()
|
|
AttachmentFieldLimit(int max,
int type)
Constructs a new AttachmentLimitInfo object, defaulting the full text option to none (Constants.AR_FULLTEXT_OPTIONS_NONE ). |
|
AttachmentFieldLimit(int max,
int type,
int option)
Constructs a new AttachmentLimitInfo object, allowing the specification of a full text option. |
Method Summary | |
---|---|
Object |
clone()
Clone implementation that returns an Object with data cloned from self. |
boolean |
equals(Object obj)
Use this method for checking equality between the current object and the provided one. |
int |
getAttachType()
Returns the attachment type |
int |
getFullTextOption()
Returns the full text option |
int |
getMaxSize()
Returns the maximum attachment size |
int |
hashCode()
Returns the hash code value for this instance of the current class. |
void |
setAttachType(int type)
Sets the attachment type |
void |
setFullTextOption(int option)
Sets the full text option |
void |
setMaxSize(int max)
Sets the maximum attachment size |
String |
toString()
Returns a string description of the object. |
Methods inherited from class com.bmc.arsys.api.FieldLimit |
---|
getDataType |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AttachmentFieldLimit()
public AttachmentFieldLimit(int max, int type)
AttachmentLimitInfo
object, defaulting the full text option to none (Constants.AR_FULLTEXT_OPTIONS_NONE
).
max
- Maximum size of the attachment.type
- Type of the attachment -- embedded (Constants.AR_ATTACH_FIELD_TYPE_EMBED
) is the only type
supported at this time.public AttachmentFieldLimit(int max, int type, int option)
AttachmentLimitInfo
object, allowing the specification of a full text option.
max
- Maximum size of the attachment.type
- Type of the attachment -- embedded (Constants.AR_ATTACH_FIELD_TYPE_EMBED
) is the only type
supported at this time.option
- Full text option -- none Constants.AR_FULLTEXT_OPTIONS_NONE
or indexed (Constants.AR_FULLTEXT_OPTIONS_INDEXED
)Method Detail |
---|
public void setMaxSize(int max)
public void setAttachType(int type)
public void setFullTextOption(int option)
public int getMaxSize()
public int getAttachType()
public int getFullTextOption()
public Object clone() throws CloneNotSupportedException
clone
in class FieldLimit
CloneNotSupportedException
public String toString()
toString
in class FieldLimit
public int hashCode()
hashCode
in class FieldLimit
public boolean equals(Object obj)
equals
in class FieldLimit
obj
- the object that we are comparing to
|
AR System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |