Class Property
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.container.search.objecttype.Property
-
@ApiType("SoftLayer_Container_Search_ObjectType_Property") public class Property extends Entity
This data type is a container that stores information about a single property of a searchable object type. Each [[SoftLayer_Container_Search_ObjectType (type)|SoftLayer_Container_Search_ObjectType]] object holds a collection of these properties. Property information can be used for discovery of searchable data and for the creation or validation of object index search strings. Note that properties are only understood by the [[SoftLayer_Search/advancedSearch|advancedSearch()]] method. Refer to the advancedSearch() method for information on using properties in search strings.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Property.Mask
-
Field Summary
Fields Modifier and Type Field Description protected String
name
Name of property.protected boolean
nameSpecified
protected Boolean
sortableFlag
Indicates if this property can be sorted.protected boolean
sortableFlagSpecified
protected String
type
Property data type.protected boolean
typeSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Property()
-
Method Summary
Modifier and Type Method Description String
getName()
Boolean
getSortableFlag()
String
getType()
boolean
isNameSpecified()
boolean
isSortableFlagSpecified()
boolean
isTypeSpecified()
void
setName(String name)
void
setSortableFlag(Boolean sortableFlag)
void
setType(String type)
void
unsetName()
void
unsetSortableFlag()
void
unsetType()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
name
@ApiProperty(canBeNullOrNotSet=true) protected String name
Name of property.
-
nameSpecified
protected boolean nameSpecified
-
sortableFlag
@ApiProperty(canBeNullOrNotSet=true) protected Boolean sortableFlag
Indicates if this property can be sorted.
-
sortableFlagSpecified
protected boolean sortableFlagSpecified
-
type
@ApiProperty(canBeNullOrNotSet=true) protected String type
Property data type. Valid values include 'boolean', 'integer', 'date', 'string' or 'text'.
-
typeSpecified
protected boolean typeSpecified
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
isNameSpecified
public boolean isNameSpecified()
-
unsetName
public void unsetName()
-
getSortableFlag
public Boolean getSortableFlag()
-
setSortableFlag
public void setSortableFlag(Boolean sortableFlag)
-
isSortableFlagSpecified
public boolean isSortableFlagSpecified()
-
unsetSortableFlag
public void unsetSortableFlag()
-
getType
public String getType()
-
setType
public void setType(String type)
-
isTypeSpecified
public boolean isTypeSpecified()
-
unsetType
public void unsetType()
-
-