Status LEDs are shown for objects in the UBIK® Android client's Content Browser classified by the Status Color classification. The following is UBIK.Android.Kernel's IStatusColorClassification interface describing its UUID and relevant property STATUSCOLOR.
The STATUSCOLOR property has to be an integer property describing the RGB value of the status colour as a decimal number.
package com.augmensys.ubik.classification.statuscolor;
import java.util.UUID;
import com.augmensys.ubik.classification.IClassification;
import com.augmensys.ubik.model.content.ContentClass;
public interface IStatusColorClassification extends IClassification {
public static final UUID STATUS_COLOUR_CLASSIFICATION_UID = UUID.fromString("1E84CF6C-CF6D-49B7-8EAF-C013CB384DC5");
public static final String STATUS_COLOUR_PROPERTY_NAME = "STATUSCOLOR";
public boolean hasStatusColour(ContentClass content);
public Integer getStatusColor(ContentClass content);
}
import java.util.UUID;
import com.augmensys.ubik.classification.IClassification;
import com.augmensys.ubik.model.content.ContentClass;
public interface IStatusColorClassification extends IClassification {
public static final UUID STATUS_COLOUR_CLASSIFICATION_UID = UUID.fromString("1E84CF6C-CF6D-49B7-8EAF-C013CB384DC5");
public static final String STATUS_COLOUR_PROPERTY_NAME = "STATUSCOLOR";
public boolean hasStatusColour(ContentClass content);
public Integer getStatusColor(ContentClass content);
}