code: public static RealmAttribute createRealmAttribute(byte realm[]) {
  		RealmAttribute attribute = new RealmAttribute();
  
  		attribute.setRealm(realm);
  		return attribute;
  	}
docs: Create a RealmAttribute.
  
  @param realm
  realm value
  @return newly created RealmAttribute