.. java:import:: org.apache.commons.collections CollectionUtils .. java:import:: org.apache.commons.collections Predicate .. java:import:: org.motechproject.mds.dto RestOptionsDto .. java:import:: org.motechproject.mds.util PropertyUtil .. java:import:: javax.jdo.annotations IdGeneratorStrategy .. java:import:: javax.jdo.annotations IdentityType .. java:import:: javax.jdo.annotations PersistenceCapable .. java:import:: javax.jdo.annotations Persistent .. java:import:: javax.jdo.annotations PrimaryKey .. java:import:: java.util ArrayList .. java:import:: java.util List RestOptions =========== .. java:package:: org.motechproject.mds.domain :noindex: .. java:type:: @PersistenceCapable public class RestOptions The \ ``RestOptions``\ class representing rest options of given entity. This class is related with table in database with the same name. Constructors ------------ RestOptions ^^^^^^^^^^^ .. java:constructor:: public RestOptions() :outertype: RestOptions RestOptions ^^^^^^^^^^^ .. java:constructor:: public RestOptions(Entity entity) :outertype: RestOptions Methods ------- copy ^^^^ .. java:method:: public RestOptions copy() :outertype: RestOptions getEntity ^^^^^^^^^ .. java:method:: public Entity getEntity() :outertype: RestOptions getFields ^^^^^^^^^ .. java:method:: public List getFields() :outertype: RestOptions getId ^^^^^ .. java:method:: public Long getId() :outertype: RestOptions getLookups ^^^^^^^^^^ .. java:method:: public List getLookups() :outertype: RestOptions isAllowCreate ^^^^^^^^^^^^^ .. java:method:: public boolean isAllowCreate() :outertype: RestOptions isAllowDelete ^^^^^^^^^^^^^ .. java:method:: public boolean isAllowDelete() :outertype: RestOptions isAllowRead ^^^^^^^^^^^ .. java:method:: public boolean isAllowRead() :outertype: RestOptions isAllowUpdate ^^^^^^^^^^^^^ .. java:method:: public boolean isAllowUpdate() :outertype: RestOptions setAllowCreate ^^^^^^^^^^^^^^ .. java:method:: public void setAllowCreate(boolean allowCreate) :outertype: RestOptions setAllowDelete ^^^^^^^^^^^^^^ .. java:method:: public void setAllowDelete(boolean allowDelete) :outertype: RestOptions setAllowRead ^^^^^^^^^^^^ .. java:method:: public void setAllowRead(boolean allowRead) :outertype: RestOptions setAllowUpdate ^^^^^^^^^^^^^^ .. java:method:: public void setAllowUpdate(boolean allowUpdate) :outertype: RestOptions setEntity ^^^^^^^^^ .. java:method:: public void setEntity(Entity entity) :outertype: RestOptions setId ^^^^^ .. java:method:: public void setId(Long id) :outertype: RestOptions toDto ^^^^^ .. java:method:: public RestOptionsDto toDto() :outertype: RestOptions update ^^^^^^ .. java:method:: public final void update(RestOptionsDto restOptionsDto) :outertype: RestOptions